![]() |
PHP Pros... need some help
Well I am trying to get a simple pagination to display all current pages.
The original code displayed " Prev 1 2 3 ... 100 101 103 Next" I want it to go like "Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next" Pretty much to show ALL pages the code is in the spoiler please help
Spoiler!
|
I am no PHP pro, but i think you can just replace this whole part with the code i entered underneath.
I could be wrong though, only spend a few minutes looking through it, test it out and let me know if there is a problem :o Code:
if ($total_pages > (($index*2)+3) && $page >= ($index+3)) Code:
for ($i=1; $i<=$total_pages; $i++) { |
Got it to work but can't make it go into 2 or 3 different rows to fit on one page
Spoiler!
|
got it changed css file added float: left padding-bottom: 20px
|
| All times are GMT -8. The time now is 09:20 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Revscene.net cannot be held accountable for the actions of its members nor does the opinions of the members represent that of Revscene.net