UnixUser wrote:The method that has worked for me for dispalying images is:> I have a jpeg file and a HTML page that are stored in two separate
> blob fields of a databses, namely interbase, what is the best method
> of pulling each of these items out so that they can be displayed in a
> web browser.
$query='SELECT field_name FROM table_name WHERE id = '.$_GET['id'];
// add your database code to perform query and store
// data in $data variable
Then in the HTML, I use:
<img src="show_image.php?id=24" alt="">
You can do the same with HTML, but your Content-type should be
Justin Koivisto - [email]spamkoivi.com[/email]
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.