i made a form page to upload files
<form role="form" action="portfilio.php" method="post" enctype="multipart/from-data">
<textarea class="form-control textarea" name="desc"></textarea>
<input type="file" name= "img" class="custom-file-input" id="exampleInputFile">
when i want to test it if he is working or not by using this code
if (isset($_POST['desc'])) { echo '<pre>'; print_r($_FILES);die; }
should send somthing like result but not just empty array like :
Array ()but why ? where the wrong ??