I get the following warning and after that I get the gibberish again.
Warning: Cannot modify header information - headers already sent by (output started at /home/content
my code is this:
if($id)
{
echo "<br>";
$result = mysql_query("SELECT * FROM myBlobs WHERE blobid=$id",$con_nit);
$row = mysql_fetch_array($result);
header("Content-type: image/gif");
echo "<br>";
printf("image: %s\n<br>", $row["blobData"]);
echo "<br>";
printf("type: %s\n<br>", $row["blobType"]);
}
The blobData field is supposed to have the image in it.