note 46413 added to function.pg-fetch-row

From: Date: Sun, 10 Oct 2004 09:36:28 +0000
Subject: note 46413 added to function.pg-fetch-row
Groups: php.notes 
Request: Send a blank email to php-notes+get-78268@lists.php.net to get a copy of this message
In the example 1, there is a while loop: while ($row = pg_fetch_row($result, $i)) { .... There is a $i which is not defined or used anywhere. PHP accepts it nicely, but maybe it should be removed from the example because it does not serve any purpose. ---- Manual Page -- http://www.php.net/manual/en/function.pg-fetch-row.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46413 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46413&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46413&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78268) next »