Received: from e-techservices.com (unknown [205.132.149.194]) by postgresql.org (Postfix) with ESMTP id DAF81475450 for ; Sat, 23 Mar 2002 13:33:56 -0500 (EST) Received: from localhost (jjm@localhost) by e-techservices.com (8.11.6/8.11.0/2.2.0) with ESMTP id g2NIRwW25466; Sat, 23 Mar 2002 13:27:58 -0500 Date: Sat, 23 Mar 2002 13:27:58 -0500 (EST) From: Jim Martinez X-X-Sender: To: Dan Langille Cc: Subject: Re: false No rows returned error In-Reply-To: <20020323173453.D386E3F30@bast.unixathome.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200203/294 X-Sequence-Number: 7173 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__ > > ."
sql is $sql" ); > > Change the above to this, just to be sure: > > $res = pg_exec($conn, $sql); > if (!$res) { > echo "query failed: ".__FILE__ . __LINE__ ."
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