Re: About PHP/MYSQL Pagination
| From: | Kelvin Park | Date: | Fri, 03 Aug 2007 01:35:32 +0000 |
| Subject: | Re: About PHP/MYSQL Pagination | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260106@lists.php.net to get a copy of this message | ||
Kelvin Park wrote:
I just couldn't find it anywhere, google or yahoo. I know how to make first, previous, last, and next links for php/mysql pagination. How do you list page numbers in the middle, between previous and next? (ex. << first previous | 1 2 3 4 5 | next last >> ) I know how to display them from 1 to whatever by using for loop, but the problem comes in when I click "next" from page "5", it does not get re-listed starting from page "6". nevermind, I figured it out. didn't know it was quite easy