Ahh, i see, then you want this:

PHP Code:
for ($i=0;$i<mysql_num_rows($posts);$i++) {
  
$post mysql_fetch_array($posts)
  echo 
$post;
  if (
$i != mysql_num_rows($posts)-1)
    echo 
"<hr />";