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