Re: pg_query_params

Bill Moran <[email protected]> Wed, 22 Jul 2009 15:29:38 -0400
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
In response to Carol Walter <[email protected]>:

> Does pg_query_params return a false if an item is not found in a  
> database?

What's an item?  That term is does not describe any type of standard
database object.

pg_query_params() will return false if the query was invalid for any
reason.  One such possible reason is that you tried to access a
table that doesn't exist.

If you're getting false as the return value, you should use
pg_last_error() to discover the details of the error.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php