title: php - get second row until last row in mysql
body: <p>Using while loop, i can get all the result in the table and echo it into a html table.</p>
  
  <p>But, i want to skip the first row, and echo the result starting from second row.
  How can i do that?</p>
  
  <p>This is my code.</p>
  
  <pre><code>$sql2="select * from table where year = '2015' and month = '2' order by month desc";
  $result2=mysqli_query($conn,$sql2);
  echo '&lt;table&gt;';
  while($row2=mysqli_fetch_assoc($result2))
  {
  echo '&lt;tr&gt;';
  echo '&lt;th&gt;'.$row2['acc_sth_date'].'&lt;/th&gt;';
  echo '&lt;th&gt;'.$row2['acc_sth_med_ori'].'&lt;/th&gt;';
  echo '&lt;th&gt;'.$row2['acc_sth_med_new'].'&lt;/th&gt;';
  echo '&lt;th&gt;'.$row2['acc_sth_operator'].'&lt;/th&gt;';
  echo '&lt;/tr&gt;';
  }
  echo '&lt;/table&gt;';
  </code></pre>
  
  <p>Help me please master. Thanks</p>