Re: storing images in database

From: Date: Tue, 25 Jan 2005 17:27:15 +0000
Subject: Re: storing images in database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-38324@lists.php.net to get a copy of this message
Could be lots of things, improper/missing headers is most likely, although it's not clear from your statement if you're displaying the binary data directly in the page or are you calling an image output script in an image tag. (as you should) Show some code and the answer will be clear. -Micah On Tuesday 25 January 2005 09:11 am, Chip Wiegand wrote: > I have stored a .jpg image in a database, then when I make a sql statement > to display that image on a web page all I get is the cryptic code in place > of the image. I am storing it in a row configured as a blob, mime type > image/jpeg and binary (using phpMyAdmin). What am I doing wrong? > Regards, > Chip

« previous php.db (#38324) next »