Re: pg_query_params - Mailing list pgsql-php

From Bill Moran
Subject Re: pg_query_params
Date
Msg-id 20090722152938.402f6228.wmoran@potentialtech.com
Whole thread Raw
In response to pg_query_params  (Carol Walter <walterc@indiana.edu>)
Responses Re: pg_query_params
List pgsql-php
In response to Carol Walter <walterc@indiana.edu>:

> 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/

pgsql-php by date:

Previous
From: Carol Walter
Date:
Subject: pg_query_params
Next
From: Carol Walter
Date:
Subject: Re: pg_query_params