Re: PHP and MySQL
| From: | (Vanstaen Laurent) | Date: | Wed, 14 Mar 2001 20:30:09 +0000 |
| Subject: | Re: PHP and MySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7483@lists.php.net to get a copy of this message | ||
Hi,
my exact problem is the following. Here is my form :
<div align="left">login :
<input type="text" name="field[0]">
</div>
<br>
<div align="left">group :
<input type="text" name="field[1]">
</div>
<br>
<div align="left">password :
<input type="text" name="field[2]">
</div>
when I put the data in the table, I get either "field[i]" or array.
I can't use more specific names than field[$i] bacause I get the name of the
fiels directly from my table (so my script enables to update any table without
knowing how it is written).
Laurent