Didier,
My guess is in your HTML, you have the input(s) named as 'file'..
Because of the way that PHP handles it's POST/GET variables, you will
want to redeclare your input names in your HTML to 'file[]'... This
basically defines that it is an array..
Hope that helps,
Jordan
Didier McGillis wro
I have three file fields in a form. I need it to upload those three items
or two or one. I can get it to upload one, but not all three, habing
trouble with the for loop and how I get a value of $i.
if(isset($_POST['upload'])){
if (!empty($_FILES['file']['name'])){
$formats = arra
2 matches
Mail list logo