View Single Post
Old 07-12-2005, 03:14 PM   #4 (permalink)
wdevauld
Tilted
 
Location: Calgary, AB
You can also set the names/id on your form to be array values:

<input name="field[0]" type="text" value="123.4"/>
<input name="field[1]" type="text" value="456.7"/>
<input name="field[2]" type="text" value="789.0"/>

--or if you don't care about which index --

<input name="field[]" type="text" value="123.4"/>
<input name="field[]" type="text" value="456.7"/>
<input name="field[]" type="text" value="789.0"/>


then when you $_GET['field'] you can use it as an array
__________________
As soon as you stop living, you start dying....
wdevauld is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43