you dont have an alternative. you will have to loop because
mysql_fetch_* functions fetch only one row at a time.

you can use variable variables to achieve the above result (you will
not require this if u use list() or extract() functions)

and if you cant do the job with arrays, and u need separate variables
list would be an useful function as suggested earlier.
you may also consider using

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to