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

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

Reply via email to