Re: Validate if the field of a form is empty
| From: | te0t3l | Date: | Tue, 13 Jul 2010 09:36:08 +0000 |
| Subject: | Re: Validate if the field of a form is empty | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306862@lists.php.net to get a copy of this message | ||
It works fine for me,
foreach ( $_FILES['archivo']['name'] as $file ) {
//echo $file;
}
if($file == ""){
echo "empty";
}else{
//continue...
}
Thanks a lot Jim!
Te0