PHP & MySQL Image deletion problem?
- by IMAGE
I have this script that deletes a users avatar image that is stored in a folder name thumbs and another named images and the image name is stored in a mysql database.
But for some reason the script deletes all the users info for example if the users id is 3 all of the users info like first name last name age and so are deleted as well, basically…