Possible Duplicate:
How to iterate by row through a mysql query in php
After:
$result = mysql_query($query) or die("Error: Cant query database");
All Im trying to do is iterate through the result one by one and display the values separated by “;” in order from top to bottom, left to right;
I’m actually embarrassed I have to ask this “easy” question but Im not getting results lol. Might be the structure of the returned resource Im not getting, who knows.
I dont want to have to plugin in row or fields names, I just want to iterate through and display it, regardless of the result.
1 Answer