You need to change your SELECT statement. Assuming you have some sort of timestamp on each of your posts, it would end up being something like this:
SELECT * FROM posts ORDER BY timestamp DESCThat tells MySQL to retrieve rows by descending (reverse) timestamp order, making the most recent appear first.
Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]