Re: Re: how to determine where a select statement fails - Mailing list pgsql-php

From Adam Lang
Subject Re: Re: how to determine where a select statement fails
Date
Msg-id 015f01c11601$b3fc0160$330a0a0a@rutgersinsurance.com
Whole thread Raw
In response to Re: how to determine where a select statement fails  ("Brent R. Matzelle" <bmatzelle@yahoo.com>)
List pgsql-php
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



pgsql-php by date:

Previous
From: "Heather Johnson"
Date:
Subject: Re: Re: how to determine where a select statement fails
Next
From: "Adam Lang"
Date:
Subject: Re: Re: how to determine where a select statement fails