I have seen a solution from a book how to display image queryed by php from db
step 1. at first like you ,create a php using Header("Content-type: image/gif")
to display the mesage queried from my sql. This displays the image .for example this
file named "image.php?imageID = ???"
step 2 . in php file you want to display the image with other html content find <img
tag> . in this <img > tag the src should be "image.php?imageID = ???"(the file
created in step 1) ,then this file maybe can display the image with other content
>Hi!
>
>I have a html-php form which connects to a my-sql DB
>and retrieves and displays the name and image(Stored
>in Blob) I'm using Header("Content-type: image/gif")
>to display the mesage queried from my sql. This
>displays the image, but I want it displayed in a <img
>tag> along with other text and not exclusively in the
>browser. Has anyone tried a similar query? I guess I'm
>kinda off-topic(?)any help is appreciated.
>
>Thanx in advance,
>Abhi
>
>__________________________________________________
>Do you Yahoo!?
>Faith Hill - Exclusive Performances, Videos & More
>http://faith.yahoo.com
>
>---------------------------------------------------------------------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail <[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
= = = = = = = = = = = = = = = = = = = =
������������������
��
����������������muyuan
����������������[EMAIL PROTECTED]
��������������������2002-10-25
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php