Wednesday, 7 August 2013

Generic while loop through mysql query result

Generic while loop through mysql query result

I'm wondering if there's a way - using php - to loop through a mysqli
query result and display the column name, and the data... so,
Name => Joe Bloggs, Age => 23
effectively allowing me to change the query, without having to echo out
each row individually.

No comments:

Post a Comment