02-22-2012, 08:28 AM
[eluser]20000RPM[/eluser]
I think that this:
gives you an array like this:
Which doesn't keep them together if you see what I mean.
I think that this:
Code:
<input type="text" name="expenses[][name]" value="" />
<input type="text" name="expenses[][amount]" value="" />
gives you an array like this:
Code:
expenses[0] => array('name'=>''),
expenses[1] => array('amount'=>'')
Which doesn't keep them together if you see what I mean.