Form With Array

From: Date: Mon, 12 May 2003 06:25:49 +0000
Subject: Form With Array
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-147265@lists.php.net to get a copy of this message
Hi EveryOne.. How to Print "text Form" In array.. I have Generatable "Textbox" which i have been manipulated it w/ jcript by InnerHTML.. blabla.. <input type="text" name="mytext"> I used php to print Textbox In array $a = array($mytext); $i = 0;
      foreach($a as $v){
              print "\$a[$i] => $v.\n";
              $i++;
      } 
I want to get Output like this below $a[0] => 1. $a[1] => 2. but i got the output just the last textbox which i have been added... $a[0] => 2. How To Do Array Here.., Help Please

« previous php.general (#147265) next »