hello all!
i have some trouble with php and mysql. i am creating a table with multiple rows. each row has a text area input and i want to give a unique name for each input. in the next page i want to control the text field values.
for example;
for($i=0;mysql_fetch_object($result) ;$i++)
{
echo '<tr>
<td><input type = "textarea" name = "input'.$i.'"></td>
</tr>';
}
i tried this but in the next page when i was controlling the form variables i couldn't use the variable name. i was forced to use variable names like $input1, $input2 etc... . since i couldn't create variable names like $input1, $input2 forever(!) i couldn't find a efficient solution to my problem.
does this problem have a solution?
thanks!