title: PHP How to add specific class to last echoed <li> in while loop
body: <p>Echoing out results from a database in a while loop so that I can echo 5 of them out at once.
  Currently have put a standard string into the loop in order to test. The <code>&lt;li&gt;</code> elements have a <code>border-bottom</code> attribute in their stylings.
  Is it possible to have the last result echoed (number 5) to have another class applied that would rule out the border?</p>
  
  <pre><code>$i = 1;
  while($i &lt;= 5) {
      // On the 5th, change the class here to rule out the border-bottom.
      echo "&lt;li&gt;jQuery &amp;amp;HTML5 audio player.&lt;/li&gt;";
      $i++;
  }
  </code></pre>
  
  <p>So, somewhere in there, throw in an if statement?
  Sorry. This could be really simple, but it's been a long day</p>