is there a way to store the values given from textboxes in a html form in an array, similar to how an array is created when using checkboxes in a form?
i hope that makes sense to you guys.
i've tried everything and i've done a search of the forums and cant find anyhting.
thanks.
I would imagine the same way:
<textarea name="myTextBox[]"></textarea> <textarea name="myTextBox[]"></textrarea>
I've not tested this but this would seem to make sense. Hope this helps.
getDizzle's right, that should do it.
Furthermore, all your form values are already stored in an array; for example, $_POST ....
😉
thanks, getDizzle's way worked.
thats what i thought it was in the first place, but it didnt seem to work because of another error.
it seems i was try to read from the array wrong. :o
Happens ... don't kick yourself.
Debugging is the bane of every programmer....
you have access html array as $_POST["myTextBox"][$i]