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[]'];
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
--
Jason Morehouse
Vendorama - The evolution of e-commerce
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[]'];
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
--
Jason Morehouse
Vendorama - The evolution of e-commerce
Comment