Re: Validate if the field of a form is empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It works fine for me,

foreach ( $_FILES['archivo']['name'] as $file ) {
   //echo $file;
}
if($file == ""){
        echo "empty";
    }else{
       //continue...
    }

Thanks a lot Jim!

Te0

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux