<form enctype="multypart/form-data" method="post">
<input type="file" name="file[]"></br>
<input type="file" name="file[]"></br>
<input type="submit" name="btn" value="Загрузить">
</form>
Пишу так:
- фиолетово
echo count($_POST['file']);
<form enctype="multypart/form-data" method="post">
<input type="file" name="file[]"></br>
<input type="file" name="file[]"></br>
<input type="submit" name="btn" value="Загрузить">
</form>
- фиолетово
echo count($_POST['file']);
Цитата |
</br> |