title: How to Limit the lines my Php List is showing
body: <p>I have a submit form that displays into a list format and I'm wondering what I can do to make it so that the list only displays a certain number of the most current submitted info. I'm testing it and currently the list is on a page and just displays 50+ submissions stretching out the page very long.</p>
  
  <pre><code>    &lt;?php
  $query='select * from article order by `article`.`time` DESC';
  $result=mysql_query($query); 
  echo '&lt;table width="600px"&gt;';
  while($row = mysql_fetch_array($result))
  {
      echo "&lt;td&gt;&lt;a href='".$row['url']."'&gt;".$row['title']."&lt;/a&gt;&lt;/td&gt; &lt;td&gt;".$row['description']."&lt;/td&gt;&lt;td&gt;".$row['type']."&lt;/td&gt;&lt;/tr&gt;";
  }
  echo '&lt;table&gt;';
   ?&gt;
  </code></pre>