PHP 4.0 Bug #4507 Updated: Object fetch outputs error when index is greater than # of records

From: Date: Sat, 15 Jul 2000 03:57:07 +0000
Subject: PHP 4.0 Bug #4507 Updated: Object fetch outputs error when index is greater than # of records
Groups: php.dev 
Request: Send a blank email to php-dev+get-24619@lists.php.net to get a copy of this message
ID: 4507 Updated by: jah Reported By: dchapman@houabg.com Status: Closed Bug Type: PostgreSQL related Assigned To: Comments: Either put @ before pg_fetch_object() to suppress the warning, or use pg_numrows() first to get the number of rows in the result set. Whether you use a for or while loop is a personal preference, I doubt there's not much difference in performance. Full Bug description available at: http://bugs.php.net/?id=4507

« previous php.dev (#24619) next »