note 23624 added to function.pg-fetch-row
| From: | imantr at cbn dot net dot id | Date: | Wed, 24 Jul 2002 00:38:55 +0000 |
| Subject: | note 23624 added to function.pg-fetch-row | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33455@lists.php.net to get a copy of this message | ||
I use the following code to assigning query result to an array.
while ($row = pg_fetch_row($result)) $newArray[] = $row[0];
print_r($newArray);
--
http://www.php.net/manual/en/function.pg-fetch-row.php
http://master.php.net/manage/user-notes.php?action=edit+23624
http://master.php.net/manage/user-notes.php?action=delete+23624
http://master.php.net/manage/user-notes.php?action=reject+23624