note 9222 added to pg_fetch_row
| From: | rtreat2 at tampabay dot rr dot com | Date: | Mon, 23 Oct 2000 21:41:06 +0000 |
| Subject: | note 9222 added to pg_fetch_row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6904@lists.php.net to get a copy of this message | ||
the mysql way....
$rows = pg_numrows($result);
for ($i=0; $i < $rows; $i++){
list($foo,$bar) = pg_fetch_row($result,$i);
print ("$foo , $bar)\n");
}
http://www.php.net/manual/function.pg-fetch-row.php