title: Add string to all looped items except the last one
body: <p>I'm looping through some mysql results and need to add <code>&lt;span id=bottom&gt;&lt;/span&gt;</code> to each of them except the last row. What's the easiest way of doing this?</p>
  <p>Will I have to count rows and then use a counter and an if/else statement? Or is there an easier method?</p>