I am creating a very basic site where a user can upload a single image and text into a MySQL database. I can succsesfully upload the image but I’m not sure how to properly output the image. If I use: echo $content; (where $content is the file from the MySQL database) I just get the binary file converted to text.
I guessing that “echo” is the wrong command to display a picture. I’ve searched the manual, but my big problem is that I dont have enough knowledge to know what to search for.
Any help is greatly apperciated.
Thanks!