Basically, the person wants to know which where clause caused the query to
return 0 results.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Brent R. Matzelle" <bmatzelle@yahoo.com>
To: "Heather Johnson" <hjohnson@nypost.com>; <pgsql-php@postgresql.org>
Sent: Thursday, July 26, 2001 2:05 PM
Subject: [PHP] Re: how to determine where a select statement fails
> I'm not sure if I understand what your problem is. If a query
> does not return any rows (pg_numrows() < 1) then that is not
> really a "failure". If the SQL was incorrect then I would
> suggest printing it to the browser (echo $query) and pasting it
> in a query program like psql or winsql to determine which line
> of code was incorrect.
>
> Brent