title: Php MySQL not displaying all rows
body: <p>here is code i am trying to display all data from database...</p>
  
  <pre><code>$sql = mysql_query("SELECT * FROM data ORDER BY id DESC");
  $row1 = mysql_fetch_array($sql);
  print_R($row1);
  </code></pre>
  
  <p>but it is displaying only one row.. I have totally three rows in database ,
  if i run the same query in database, it displays all rows..
   i want to display all three rows how to fix this?</p>