title: how to iterate through mysql_query() result
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2285600/how-to-iterate-by-row-through-a-mysql-query-in-php">How to iterate by row through a mysql query in php</a>  </p>
  </blockquote>
  
  
  
  <p>After:</p>
  
  <pre><code> $result = mysql_query($query) or die("Error: Cant query database");
  </code></pre>
  
  <p>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;</p>
  
  <p>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. </p>
  
  <p>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.</p>