Long time I saw that, but I believe you should be able to
give a reference on the IMG directivity to a script, and
the script should then query the database for the image.

Some thing like:

<IMG src="MyImageScript.php" alt="Stupid bandwith wasting picture">

        /Anders

>-----Original Message-----
>From: sur-php [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 15, 2001 7:05 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] how to show image from mssql server
>
>
>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]
>

-- 
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]

Reply via email to