Andrew Forgue wrote:
> 
> By putting brackets after the variable name [] in a form element
> 
> <input type="text" name="text[]">
> <input type="text" name="text[]">
> <input type="text" name="text[]">

BLAAACH!!! Please add an index variable, as fields that you don't need
wil NOT be posted, so when you have several fields for one single
dataset, you might end up with the wrong set of indexes.

Adding them now, you'll never regret. 
Forget them now and you will regret it later...

  for ($i= 1; $i<= 3; $i++) {
  ?>
     <input type="text" name="text[<?php echo $il ?>]">
  <?php
  }

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to