<code><!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <form method="post" enctype="multipart/form-data" action="test.php"> <input type="file" name="daan" multiple="multiple"> <input type="submit"> </form> </body> </html></code>
html表单写法如上
我php那里该怎么写才能接收多个文件
<code><!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <form method="post" enctype="multipart/form-data" action="test.php"> <input type="file" name="daan" multiple="multiple"> <input type="submit"> </form> </body> </html></code>
html表单写法如上
我php那里该怎么写才能接收多个文件
PHP:$_FILES