Over 10 posts and no paging!

Managed to get to post number 12 and no paging!  Currently it only returns the top 10 rows from the database.  Maybe I never expected to have over 10 posts! :)

There will now be an 'Older entries' link at the bottom of the page.  This has been accomplished by returning 11 rows from the database.  Row 11 does not display the article, but instead generates the 'Older entries' button passing the id in the querystring.  When the page is reloaded it will only return posts equal or less than the id querystring. Give it a try!

#coding

Comments

Back to blog