(PHP Community) Keywords: php, html
I have saved my images into a table as binary data. I can get it out again with the method that I found at phpbuilder. Here is the test code.
Header( "Content-type: image/jpeg");
The problem is that my real program pulls the images and text for the record and then displays it in an HTML page with tables and a bunch of other stuff. As soon as I added the Header line only the first image shows and thats it. I am assuming this has to do with HTTP headers and so forth which I am not entirely sure of. So if you could tell me how to display my binary image data or point to me some resources when I can learn how I would appreciate it.