RE: [PHP] Syntax Eyes
| From: | Mark Roedel | Date: | Wed, 25 Jul 2001 16:01:55 +0000 |
| Subject: | RE: [PHP] Syntax Eyes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59566@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Clayton Dukes [mailto:cdukes@cdukes.com]
> Sent: Wednesday, July 25, 2001 10:42 AM
> To: Mark Roedel; Php-General
> Subject: Re: [PHP] Syntax Eyes
>
>
> I have a row in sql that is binary data (a jpeg)
> I need to echo that data to a table on the web page in the form of the
> original jepg, when I echo it now, I just get the actual data stream.
>
> How can I fix this?
<?php
echo "<td><img
src=\"/path/to/script/that/outputs.jpeg\"></td>";
?>
---
Mark Roedel (roedelm@letu.edu) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger