Dec
10
accepted PHP searching through a nested array to delete an element by name
Dec
10
comment PHP searching through a nested array to delete an element by name
Ok I've got the search working now. a bit of tinkering and this worked - thanks Luke
Dec
10
revised PHP searching through a nested array to delete an element by name
added 2 characters in body
Dec
10
comment PHP searching through a nested array to delete an element by name
Thanks Luke. One of things that's confusing me is the syntax for this with relation to the array being an attribute of an object. So here $array would be $this->peopleArray, but it doesn't seem to like that. Also I haven't come across anything like the '$key => $2ndArray' part before - would I have that simply as '$key => $name'?
Dec
10
comment PHP searching through a nested array to delete an element by name
Thanks guys - Ive added a print_r of the array
Dec
10
revised PHP searching through a nested array to delete an element by name
Added print_r of the array
Dec
10
asked PHP searching through a nested array to delete an element by name
Dec
3
accepted Multiple PHP foreach loops on XML file retaining data from previous foreach loops
Dec
2
answered Multiple PHP foreach loops on XML file retaining data from previous foreach loops
Dec
2
revised Multiple PHP foreach loops on XML file retaining data from previous foreach loops
edited title
Dec
1
asked Multiple PHP foreach loops on XML file retaining data from previous foreach loops
Jul
5
comment Javascript add to value if smaller than another value error for more than one digit
Yeah I've just put it in both ways to see them next to each other and this way seems a little tidier. Cheers
Jul
5
comment Javascript add to value if smaller than another value error for more than one digit
Thanks dano - I've got the quantity being controlled by + and - images the user can click and have made the text field readonly to prevent any errors
Jul
5
accepted Javascript add to value if smaller than another value error for more than one digit
Jul
5
comment Javascript add to value if smaller than another value error for more than one digit
Thanks Pointy - Dave just beat you to it there! Again, is this a better solution than Rob's (submitted as a comment on the question) or is one just as good as the other?
Jul
5
comment Javascript add to value if smaller than another value error for more than one digit
Now that's definitely a useful bit of info - thanks Dave. This does also solve the problem. In terms of a comparison between this solution and Rob's above, would this be a better solution or would either be just as good as the other?
Jul
5
comment Javascript add to value if smaller than another value error for more than one digit
Thanks Rob - this works nicely! Feel free to enter this as an answer to the question, or I'll put this up in a while if you haven't. Cheers
Jul
5
asked Javascript add to value if smaller than another value error for more than one digit
May
1
accepted Android context menu no longer appearing in emulator
May
1
accepted android app email sending to field
1 2 3 4 5