Re: 10 rows
| From: | Darryl Ware | Date: | Fri, 29 Dec 2006 05:32:36 +0000 |
| Subject: | Re: 10 rows | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42865@lists.php.net to get a copy of this message | ||
Ron Piggott (PHP) wrote:
"I would normally just pass the offset through the get var." I understand what you are saying in concept ... but what would a sample command be like? <a href="http://www.host.com/script.php?next=21 <http://www.host.com/script.php?next=11>">Next Link</a> <a href="http://www.host.com/script.php?previous=1 <http://www.host.com/script.php?next=11>">Previous Link</a> Ron How you pass it is incidental really, the variable name is only for your benefit, so these are as valid as the next way of doing it.To learn more you may want to google for "pagination php" and that will put you onto plenty of great tutorials. Darryl.