note 25334 added to function.pg-num-rows

From: Date: Fri, 20 Sep 2002 00:34:58 +0000
Subject: note 25334 added to function.pg-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-37004@lists.php.net to get a copy of this message
I've basically only been using php for the past two days, but I ran this code: $query = pg_query( $connection, "SELECT * FROM eventTable"); $num_rows=pg_num_rows( $query ); then I printed ou the $num_rows, and ran through a for loop bounded by $i < $num_rows, and everything worked fine, so I think this function works okay now. Maybe it got fixed. I am running php 4.2.3, apache 1.3.6, and Postgresql 7.2.1. -- http://www.php.net/manual/en/function.pg-num-rows.php http://master.php.net/manage/user-notes.php?action=edit+25334 http://master.php.net/manage/user-notes.php?action=delete+25334 http://master.php.net/manage/user-notes.php?action=reject+25334

« previous php.notes (#37004) next »