RE: [PHP] Prev Next Buttons

From: Date: Tue, 22 Jan 2002 20:36:54 +0000
Subject: RE: [PHP] Prev Next Buttons
Groups: php.general 
Request: Send a blank email to php-general+get-81591@lists.php.net to get a copy of this message
You don't need to rely on a database; simply pass a variable to the next page that is to be loaded. For instance: http://ww.mydomain.com/thepage.php?page=5 Then, in your HTML (generated by PHP), you would have ANCHORS that say: <A href="http://ww.mydomain.com/thepage.php?page=4">Prev</A> <A href="http://ww.mydomain.com/thepage.php?page=6">Next</A> Of course, the PREV and NEXT page values would be computed based upon some criteria If you are trying to PREV-NEXT a long list of items, the value past would reflect the position in the listing that you wish to start at. You can also pass the number of items toi be listed in a page. -----Original Message----- From: Joffrey van Wageningen [mailto:joffrey@playcollective.com] Sent: Tuesday, January 22, 2002 9:39 AM To: php-general@lists.php.net Subject: Re: [PHP] Prev Next Buttons phpbuilder has a good article on prev&next buttons, the code is based on mysql but take a look at the mysql & odbc functions... view, compare and adjust to your needs: http://www.phpbuilder.com/columns/rod20001214.php3 with kind regards, Joffrey van Wageningen ne2000.nl ----- Original Message ----- From: "Alawi" <alawi@php4web.com> To: <php-general@lists.php.net> Sent: Tuesday, January 22, 2002 4:06 PM Subject: [PHP] Prev Next Buttons How cam I make Prev Next Buttons with ODBC+ACCESS XP by PHP :( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#81591) next »