Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 18th, 2003, 10:11 AM
Authorized User
 
Join Date: Aug 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Guestbook with infinite page

I have a guestbook which shows records from a database on my page. I would like to do something so that there can't be more than 10 entrys per page and a maximum of 2 pages.
Problem is I am a n00b and don't have a clue how to achieve this.

Thanks in advance

 
Old September 18th, 2003, 10:16 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would use a tabular format with tis tag on the first pages table:
<TABLE style='page-break-after:always'>
You would want to select the TOP 20 rows and then place ten in the first table and a maximum of ten in the second table.

Yehuda





Similar Threads
Thread Thread Starter Forum Replies Last Post
infinite loop smilesmita Pro PHP 1 December 21st, 2007 10:44 AM
infinite recursion bangbangbogi XSLT 3 May 4th, 2006 05:54 AM
Guestbook in PHP karankapur_in PHP How-To 1 February 1st, 2006 05:51 AM
Run a signin script to sign a guestbook speedyH Beginning PHP 9 July 2nd, 2003 08:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.