An important thing to note in general, if you do:

<input name="address[][address]" value="test1">
<input name="address[][city]" value="test2">
<input name="address[][state]" value="test3">

On the page your submitting to, you'll end up with:


Where as you were expecting to get:


This happens because when you use the [] operator
to say to PHP "next array position", every time it hits
that it increments the row, rather then understanding
your trying to say "set this value on this array row", it
hears "woah, I just saw a [] so I'm going to up the row".
The Cryptocomm Group
My GPG Key:

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to