October 21st, 2004, 04:37 AM
display only 10 posts on the page
i have a guestbook written in python with xml. i want to display only the last 10 posts on the page and wants a link to show the next 10 post???
October 21st, 2004, 08:45 AM
This really depends on how your script is working but usually you would set it up so that it passes the current page number to the CGI script in the query string. This would make a sample link look something like:
In your case this would make page:
1 display 01 to 10
2 display 11 to 20
3 display 21 to 30
But, without seeing your code its hard to give much more advice on the matter. So, my suggestion would be to zip your guestbook program and attach it to this thread .
Hope this helps,
Last edited by netytan; October 21st, 2004 at 08:47 AM.