This one time, at band camp, "Alain Roger" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I would like to store and retrieve photo from my DB (PostgreSQL).
> However, i do not know how to do it.

Good idea, dont listen to those who give you the "you should'nt store
images in a database" diatribe.

Here is a little tutorial on the subject, it uses MySQL and PDO but
you simply need to change the connection string to PDO to pgsql.
http://phpro.org/tutorials/Storing-Images-in-MySQL-with-PHP.html

enjoy
Kevin


-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to