I'm fairly new to PHP but have a great deal of Perl experience for
what it's worth. I'm having a problem where if I try to use a
parameterized query it fails but pg_last_error() returns nothing. For
example,
$result = pg_query_params($pgconn, $update, array($foo, $bar));
if (! $result) {
b == bran...@geronimoalloys.com writes:
b I'm fairly new to PHP but have a great deal of Perl experience for
b what it's worth. I'm having a problem where if I try to use a
b parameterized query it fails but pg_last_error() returns nothing. For
b example,
b $result =
d == danak...@gmail.com writes:
d Then you should put some debugging around the connection code.
d |$pgconn = pg_connect(host=localhost port=5432 dbname=test user=test
d password=test)| or die(Problem with connection to PostgreSQL:
d .pg_last_error());
d So you can be sure that you are