OK, I'm pretty new to the windows/PHP combination, but I think I might have a clue for you. First for the following to work, I believe this only work with Apache. In the file which uses the graphic include HTML like this: <img src="image.php?whatever=someID" ... > In the file 'image.php', you need to send the appropriate HTTP header prior to streaming the image data: <?php header ("Content-Type: image/jpeg"); ?> I have used the IIS/ASP/VBasic equivelent of this, so in general the concept works. Hope this helps, John Burns "Sur-Php" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello php-windows, > > This is my query: > > $query= " select Image from ImageTable where MainCode='040191' "; > > it returns data like this.. > > 0x424d2e040000000000003e00000028000000770000003f000000010001000000 > 0000f00300000000000000000000020000000000000000000000ffffff00ffffff > fff03fffffffffffffffffff00f03fffffe01ffffffffffcff8fffff00e00fffff > cfcfff7ffffff8ff07ffff00cfc3ffff9fe7ff3ffffff87f33ffff00 > > i know that this is BLOB data... > (which are actually small bmp files) > so how can i show it in web page.... > > > > -- > Best regards, > sur-php mailto:[EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]