title: Displaying results properly
body: <p>I was trying to display a number of results but the code I have in place only displays one comment at a time instead of a number of them. How would I fix this?</p>
  
  <p>Here's the code </p>
  
  <pre><code>  $page = $_GET['id'];
    $sql = mysql_query("SELECT * FROM comments WHERE commentid1=$page LIMIT 10");
    $runrows = mysql_fetch_array($sql);
  
     {
      //get data
     $nick1 = $runrows['name1'];
     $com1 = $runrows['comment1'];
     $date1 = strftime("%b %d, %Y %l:%M %p" ,strtotime($runrows['date1']));
     echo "";
  ?&gt;
  &lt;?php echo $nick1; ?&gt;&lt;br&gt;
  &lt;?php echo $com1; ?&gt;&lt;br&gt;
  &lt;?php echo $date1; ?&gt;
  &lt;br&gt;
  &lt;?php 
  }
  ?&gt;
  </code></pre>