query_data
| From: | Randy Johnson | Date: | Sat, 06 Dec 2003 14:34:24 +0000 |
| Subject: | query_data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172060@lists.php.net to get a copy of this message | ||
I have a query
$query="select a,b,c,d,e from table where id='z'";
$result=mysql_query();
$query_data=mysql_fetch_array($result);
I normally would do this:
$a=$query_data["a"];
etc..
is there a way to do this is in a loop so I do not have to do all that
typing?
Thanks
Randy