How do i check the state of file field
when i used this statement to check if file field is empty or not, it
had'nt succed,
i have tried :
if( $_files['f1'] ['size'] ===0 ){} X
if (empty($_FILES['f1']['error'] === 0)){} X
if( $_files['f1'] ['name'] ===0 ){} X
note: There are no syntax error. 2- file field name is :f1 what is the
solution
No comments:
Post a Comment