Re: how to put all rows into an array
| From: | Marco Tabini | Date: | Thu, 14 Nov 2002 01:28:51 +0000 |
| Subject: | Re: how to put all rows into an array | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23320@lists.php.net to get a copy of this message | ||
while ($a[] = mysql_fetch_row ($rs));
should work
Marco
--
------------
php|architect - The magazine for PHP Professionals
The monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!
On Wed, 2002-11-13 at 19:27, John A DAVIS wrote:
> Is there anyway to take a resultset and cram it into an array?
>
> In VB it would be the GetRows function:
> myArray = rs.GetRows
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>