RE: [PHP-WIN] IMAGES IN DB

From: Date: Sun, 08 Feb 2004 13:34:35 +0000
Subject: RE: [PHP-WIN] IMAGES IN DB
Groups: php.windows 
Request: Send a blank email to php-windows+get-22765@lists.php.net to get a copy of this message
You probaly need to set the content type properly. A comment on storing binary content in an RDBMS's: QUESTION: Is it possible to do a SELECT on an image that makes sence. ANSWER: no! So, the concensus might be that one rather would like to store the images as a plain file on the server, and just store a file pointer in the RDBMS. -----Original Message----- From: zanzamarr To: php-windows@lists.php.net Sent: 2004-02-08 11:11 Subject: [PHP-WIN] IMAGES IN DB Hello everyone! I'm building a site about all the states of the world..... in the DB (MySql), I'm going to insert many dates: id, country,a, lot,of,informations,about,the,country and the image of the map of the country and pf the flag. The code I use to put into my db the image is this (see under) and it works...but when I try to display the image I get this string: What's wrong?????????????????? GIF89a

« previous php.windows (#22765) next »