i can best illustrate my question with this example:
i have a table with 300 rows with 1 field in each row.
i grab all of the values from the field and stick them into an array $test[0-299].
i read all of the info into editable text fields (form fields) and name the fields in a loop "field0 through field299"
for ($i=0;$i<300;$i++){
echo "<input type=text value=\"$test[$i]\" name=newvalue$i>";
}
now i want to be able to pass all of the data at once and manipulate it.
so if i pass it to this script:
for ($i=0;$i<200;$i++){
echo "$newvalue$i";
}
this does not work, obviously. how can i make this work? basically i need it to recongnize $newvalue0 through $newvalue299 as the containers holding the data. i want to be able to update all of the rows with multiple fields (columns) in each row at once.
sorry if this is a "no brainer."
thanks.