Question and answer is powered by AnsPress.io
Hi, guys. I have defined a input type file in my HTML form and I want to upload multiple file here. So I want to set accept multiple file in input box. How can I accept multiple file?
To accept multiple file in input file, follow this example code.
You need to just mut multiple in your input file. For example:
<form action="/action_page.php" enctype="multipart/form-data"> Select images: <input type="file" name="img[]" multiple> <input type="submit" value="Submit"> </form>