Hi,
Is there any way to check is user browse file for upload or not? currently I am doing with this
PHP Code:
if($_FILES && $_FILES['avatar']['name']){...}
Shouldn't there is a codeigniter way to do this? this is need because when user will select file for upload then validation operation will work. i.e file upload option is optional
The largest Bengali tutorial site on Web Development in this planet