I\'ve created a form with 3
I see that I get an array with array(name=>\"\").
array(name=>\"\")
So I check if (
if (
Try this:
if($_FILES["uploadImg"]['name'][0] != ''){ //echo 'file attached'; }else{ //echo 'no file attached'; }
This works for me...