Hi Curt, Thanks for the tip.
I created the two scripts . The image tag on the main page calls the image from the other script with an incremented id parameter. Thanks for your help. Phil. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Phil King ([EMAIL PROTECTED]): > > Hi All, > > > > I have some images in a mysql database. I wish to display all these images > > on a PHP Page. > > > > I have created a query to retrieve all the images from the database but all > > that is displayed is characters. > > I have the Content-Type as image/jpeg in the header of the page to display > > the images. > > Basically you need two scripts: > > script1: > generate html that has <img> tags that point to script2. > > script2: > read one image from the database and send that image with the > appropriate content-type > > > > > > Can anyone advise me or point me in the right direction to rectify this. > > This has been discussed may times on the list, you can search the > archives to find out more detailed discussions on this. > > > Curt > -- > "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php