pass around a "page" number or a "start record" number. Use that to determine where to start (and therefore where to end)
eg: page = 1 .'. start record = (1-1)*25+1 => 1 eg: page = 3 .'. start record = (3-1)*25+1 => 51 HTH Martin -----Original Message----- From: Aqua [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 4:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Display Records in Multiple Pages I have 100 records in mySQL database and I need to display them in my web page using php and html. How to display them in multiple pages? Each page must contain 25 records. Does anyone know how to do it other than create 4 pages and manually list the records there? or maybe point me some reference please. Your help will be much appreciated. Thanks! Aqua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php