Showing an Image
| From: | kachaloo | Date: | Mon, 02 Jul 2001 07:39:30 +0000 |
| Subject: | Showing an Image | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55801@lists.php.net to get a copy of this message | ||
HI,
I want to show an image from a database but to do that I am using :
$result = @mysql_query($sql);
$data = @mysql_result($result, 0, "PICTURE");
$type = @mysql_result($result, 0, "FILETYPE");
Header("Content-type: $type");
echo $data;
but after this I also want to show some text info. How can I do this ? I
will have to use something else besides header. Please Help.
Thanks,
Vishal