I wrote a news script to post news posts in reverse chronological
order.
I'd like a page to post the last 6 posts from a page, from newest to
oldest.
But as it is, I don't know how to find the number of the last row in
the table. So I have to count down from 100, skipping blank entries
along the way.
Is there a simple way to find what how many rows are in a mysql table?
order.
I'd like a page to post the last 6 posts from a page, from newest to
oldest.
But as it is, I don't know how to find the number of the last row in
the table. So I have to count down from 100, skipping blank entries
along the way.
Is there a simple way to find what how many rows are in a mysql table?
Comment