[PHP-DB] FILE RETURN VALUE From: Enrico Comini (algobit <email protected>)
Date: 09/30/00

I think this is interesting for many.
I have a script like :

ECHO "<TD><img src=\"blob2jpg.php3?oid=".$image_oid."\" border=0></TD>
           <TD>Value is :?????????????

In the first line i call a php routine that fetch an image from database, in
this routine i have the code to fetch an image and terminate with
header("Content-type: image/jpg"); echo $image .
The effect is I have the image. In this way the browser don't get the page
but only image.

Problem : In second line i want call a php routine that retutn a value, but
I don't know how I have to insert in the header, always the browser go to a
new page ?

Enrico