movieprodw
asked on
PHP Image Upload Loop
Hello,
I have 2 file uploads, I tired this and it worked perfectly out of the box.
https://gist.github.com/zvineyard/3530917
My question is where do I put the loop if I have 2 file inputs.
<input type="file" id="file" name="file" type="file" />
<input type="file" id="file2" name="file2" type="file" />
I should probably make it like:
<input type="file" id="file" name="file[]" type="file" />
I have 2 file uploads, I tired this and it worked perfectly out of the box.
https://gist.github.com/zvineyard/3530917
My question is where do I put the loop if I have 2 file inputs.
<input type="file" id="file" name="file" type="file" />
<input type="file" id="file2" name="file2" type="file" />
I should probably make it like:
<input type="file" id="file" name="file[]" type="file" />
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are welcome.
ASKER