J
Jason Morehouse
Hello...
I need to get the values (for validation) of a php style html input array:
<input type="file" name="image[]">
<input type="file" name="image[]">
<input type="file" name="image[]">
<input type="file" name="image[]">
The PHP faq gives an example:
variable = documents.forms[0].elements['var[]'];
http://ca3.php.net/manual/en/faq.html.php#faq.html.select-multiple
But that doesn't actually work, for me.
What would be the proper way to loop through each of the upload inputs
and get the value?
Thanks,
-J
I need to get the values (for validation) of a php style html input array:
<input type="file" name="image[]">
<input type="file" name="image[]">
<input type="file" name="image[]">
<input type="file" name="image[]">
The PHP faq gives an example:
variable = documents.forms[0].elements['var[]'];
http://ca3.php.net/manual/en/faq.html.php#faq.html.select-multiple
But that doesn't actually work, for me.
What would be the proper way to loop through each of the upload inputs
and get the value?
Thanks,
-J