Re: false No rows returned error

Поиск
Список
Период
Сортировка
От Jim Martinez
Тема Re: false No rows returned error
Дата
Msg-id Pine.LNX.4.33.0203231309140.7406-100000@unagi.e-techservices.com
обсуждение исходный текст
Ответ на Re: false No rows returned error  ("Dan Langille" <dan@langille.org>)
Список pgsql-sql
On Mar 23, Dan Langille wrote:

> On 23 Mar 2002 at 11:04, Jim Martinez wrote:
> 
> > 
> > $res = pg_exec($conn, $sql) || exit ("query failed: ".__FILE__ . __LINE__ 
> > ."<br> sql is $sql" );
> 
> Change the above to this, just to be sure:
> 
> $res = pg_exec($conn, $sql);
> if (!$res) {
>     echo "query failed: ".__FILE__ . __LINE__ ."<br> sql is $sql" );
>     exit;
> }

That worked!  Thanks.

Tom, you were right it was a php issue.  This morning I subscribed to the
pgsql-php list, then accidentally posted to the sql list that I've been
lurking on.

Best regards,
Jim






В списке pgsql-sql по дате отправления:

Предыдущее
От: Iklódi Lajos
Дата:
Сообщение: Binary data in bytea field
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Binary data in bytea field