Arrays of Form Field
| From: | Arun | Date: | Sat, 07 Oct 2000 06:49:02 +0000 |
| Subject: | Arrays of Form Field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19021@lists.php.net to get a copy of this message | ||
Hi listers,
I have to create array of hidden form fields, which can be used both in javascript and php. How can
i do it. One of the books on php says to define an array of form field..it is to be defined like the
following
<input type=hidden name="a[]" value=1>
<input type=hidden name="a[]" value=2>
<input type=hidden name="a[]" value=3>
Problem is when i define the array like this i have problems accessing it in javascript.
Is there any work around this problem.
Thanks
Arun
TickleWit.com Pvt Ltd
0 98300 24824
91 33 3574692