when searches fail

admin

Administrator
Staff member
how does one find out if the query didnt return any results in php (besides the Warning: Unable to jump to row 0 on PostgreSQL result index 2 ) stuff.
I know what line is causing the error;

$gotten=pg_fetch_row($result,0);
and i know that i cant check the value of result to see if the pg_fetch_row command will fail.

thanks
marty vw
 
Back
Top