Form With Array
| From: | Remon Redika | Date: | Mon, 12 May 2003 06:18:38 +0000 |
| Subject: | Form With Array | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147264@lists.php.net to get a copy of this message | ||
Hi EveryOne..
How to Print "text Form" In array..
I have Generatable "Textbox" manipulate w/ jcript Like This InnerHTML..
<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
$varx[0] => 1.
$varx[1] => 2.
but i got the output just the last textbox which i have been added...
$varx[0] => 2.
How To Do Array Here.., Help Please