Hey there, I know this sounds extremely simple but, I have a form that will upload an image, but I want to check to make sure that it wasn't left empty.
I've tried:
if ($_FILES["imagevar"]["tmp_name"){
//image was entered
}else{
//image was not entered
}
But to no avail. Is there another way or am I just crazy? 😃 Thanks.