Re: [PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-26 Thread Jimmy
Hi James, > I've been getting the following error: > Warning: Supplied argument is not a valid PostgreSQL > result resource in dbasefunctions.php on line 87 that's because your SQL query return nothing, but you try to fetch a row. -- Jimmy Live for Love, for without

[PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-24 Thread James Arthur
Hi. I've been getting the following error: Warning: Supplied argument is not a valid PostgreSQL result resource in dbasefunctions.php on line 87 The error occurs in the following function: function dbFetchRow($result,$num) { global $wireddb_h; $r = pg_fetch_row($result,$num);