Hi,
You could read every post in the guestbook into an array, then loop backwards from the end of the array to the start of the array. Like this:
for ($post=($numposts-1); $post>=0; $post--) {
#Display the post...it'll be in @postsarray[$post]
}
Hope this is clear. You need to increment $numposts every time you read another entry in. We do ($numposts-1) as an array has its first element as 0.
Take care,
Jonathan
------------------------------------------
Count downloads from your site for free!
http://www.downloadcounter.com/