Selective Update Using PHP PDO

Well, your ‘bail out’ doesnt actually bail out of anything. So… yes. This will happen.

I’m going to say again that the rest of the page you’re showing us looks like the entire thing is JUST an image-upload script, so i’m not sure why you’re coding around the case of not having an image to upload.