2
Contributors
3
Replies
24
Views
3 Years
Discussion Span
Last Post by OsaMasw
0

I've tried the code and its working perfectly, check the Extensions for the files you uploaded but I don't think this affect the proccess.
you could try to see the path of blank image and you'll know what is wrong.
maybe you clicked on upload without choosing a picture that will put empty record on database, you should put a condition to check if the form is empty

if (!isset($_FILES['image']['tmp_name']) || $_FILES['image']['tmp_name'] == "" ) {
    echo "Choose a picture first";
}

Edited by OsaMasw

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.