PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If you're outputting an image then don't put any HTML in it. If the PHOTO is a file then you have to dump the contents of the file (like with readfile) and if it's raw image data, which is the case here, then you simply output it.