Can anyone give me a basic example of how to upload an image (or link to an image) to a postgres table? I have something similar to this code below, but it isn't working... Any suggestions?
EXAMPLE:
.
.
.
$query = sprintf ("INSERT INTO mytable VALUES ('%s')", pg_escape_string(trim($ImageFile));
.
.
.