Re: previous and next buttons

From: Date: Tue, 06 Aug 2002 22:40:24 +0000
Subject: Re: previous and next buttons
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-111447@lists.php.net to get a copy of this message
Hey, Ive been having a lil brain mess up with how the next thing would work in a search engine query output... suppose, you were to tag along the session id and other variables in the url to every next page, how would you prevent it from re-declaring the variables in the url? Warm Regards, Kunal Jhunjhunwala "Minds think with ideas, not information. No amount of data, bandwidth, or pocessing power can substitute for inspired thought," - Clifford Stoll ----- Original Message ----- From: "Michael Sweeney" <sweeney@verisity.com> To: "Angelo Marcos Rigo" <angelo@colegioanchieta.g12.br> Cc: <php-general@lists.php.net> Sent: Wednesday, August 07, 2002 3:35 AM Subject: Re: [PHP] previous and next buttons <pre> <!-- a sop to mail clients that try to render html --> <a href="/path/to/php/script?offset=xx>Next </a> </pre> The trick of course to figure out what to replace 'xx' in the above link with and then the php code to process that value on submission. You haven't told us enough to help you very much. What database engine? Are you using a template engine to build the pages? How are you generating the links from one query to another? And then you also, of course, have to maintain the other parameters of your query in the get request unless you wrap a form around some buttons and use hidden fields for everything. In other words, there's more to it than just the link. Give us more information and we can give you more help. ..mike.. On Tue, 2002-08-06 at 11:37, Angelo Marcos Rigo wrote: > hi i am searching for a previous and next links to a select from a table ina database > thank´s in advance > > Ângelo Marcos Rigo > Webmaster Colégio Anchieta > http://www.colegioanchieta.g12.br > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#111447) next »