I'm trying to create a form that looks like this:
<input type="text" name="value1[]" value="" />
<input type="text" name="value2[]" value="" />
<input type="text" name="value3[]" value="" />
But when it posts, I get an array that looks like this:
Array (
[0] => value1
Array ()
[1] => value2
Array()
[2] => value3
Array()
)
I'm trying to get this:
Array =>
[0] => Array
[value1] =>
[value2] =>
[value3] =>
[1] => Array
[value1] =>
[value2] =>
[value3] =>
But, can't figure out how I need to create the form to accomplish that?