Re: pg_query_params

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: pg_query_params
Дата
Msg-id 20090722152938.402f6228.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на pg_query_params  (Carol Walter <walterc@indiana.edu>)
Ответы Re: pg_query_params  (Carol Walter <walterc@indiana.edu>)
Список 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 по дате отправления:

Предыдущее
От: Carol Walter
Дата:
Сообщение: pg_query_params
Следующее
От: Carol Walter
Дата:
Сообщение: Re: pg_query_params