Question : Iterating query results using list() not knowing columns or variables?

I need to be able to pass a query result to a function and then process it
in a while(list()=mysql_fetch_row($result)) construct without knowing the
column names or variables for the list() portion.

Is something like this possible? I'm trying to build a generic table building
function where I can pass in a query result and shoot out the values from the
query.

Should I use a foreach construct instead of list()? If I can, how would I write
that?


Answer : Iterating query results using list() not knowing columns or variables?

On top, DCOM can be secured by encryption automatically.
Random Solutions  
 
programming4us programming4us