FILE RETURN VALUE

From: Date: Sat, 30 Sep 2000 20:41:54 +0000
Subject: FILE RETURN VALUE
Groups: php.db 
Request: Send a blank email to php-db+get-3190@lists.php.net to get a copy of this message
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

« previous php.db (#3190) next »