Re: previous and next buttons
| From: | Michael Sweeney | Date: | Tue, 06 Aug 2002 22:05:13 +0000 |
| Subject: | Re: previous and next buttons | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111444@lists.php.net to get a copy of this message | ||
<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