Hey all,

I read on php.net about resources, the type returned from mysql_query(), and was trying locate the best way to get the result set back from a query into an array.

Is simply looping through the result set with mysql_fetch_assoc() the common way to do this?

As great as PHP is with arrays I was wondering if there is some simply, more efficient way, but as yet have not located one.

Thanks,
Skip

--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to