mulitple file fields
Posted: Thu Dec 29, 2005 3:31 pm
How can i send multiple
<input name="photo_filename" type="file">
fields across to a gd script?
The gd script can handle multiple images
I thought something like:
but if I add more than one into the form it fails?
<input name="photo_filename" type="file">
fields across to a gd script?
The gd script can handle multiple images
I thought something like:
Code: Select all
<?php
while($counter <= $number_of_fields){
echo '<input name="photo_filename[]" type="file"><br />';
$counter++;}
?>