Re: [PHP] Validate if the field of a form is empty

2010-07-13 Thread te0t3l
It works fine for me, foreach ( $_FILES['archivo']['name'] as $file ) { //echo $file; } if($file == ){ echo empty; }else{ //continue... } Thanks a lot Jim! Te0

[PHP] Validate if the field of a form is empty

2010-07-12 Thread te0t3l
Hi, I need to validate a field that work with Multifile plugin of Jquery, I want to check if the field is empty with php. [code] input name=archivo[] class=multi type=file accept=gif|jpg|png/ input name=button type=submit value=Submit [code] I've tried different ways but it does not work: for

Re: [PHP] Validate if the field of a form is empty

2010-07-12 Thread Jim Lucas
te0t3l wrote: Hi, I need to validate a field that work with Multifile plugin of Jquery, I want to check if the field is empty with php. [code] input name=archivo[] class=multi type=file accept=gif|jpg|png/ input name=button type=submit value=Submit [code] I've tried different ways but