I am having a hard time using $_FILES
I want to check if it's empty or not and if it's not empty then it shouldn't try and uploading the file. How do I check this?
I am having a hard time using $_FILES
I want to check if it's empty or not and if it's not empty then it shouldn't try and uploading the file. How do I check this?
Here's what worked for me: