|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered
Join Date: May 2012
Location: Cardiff
Posts: 2
Reputation: 0
|
PHP SQL tables and pagination - help please!
Hello
First, let me point out I'm not fluent in PHP, as my coding will testify! This code was created for me about 10 years ago when I first launched my website. I managed to cobble together a search function about 5 years ago (not quite sure how though!). The best that can be said of it is that it works, but it is the main reason people visit my website. Here it is in action - http://hardcorewillneverdie.com/archive.php (also used for http://hardcorewillneverdie.com/mixes.php and http://hardcorewillneverdie.com/tracklist.php and http://hardcorewillneverdie.com/flyer.php ) I would like to clean it up. As you can see from the link above the pagination shows every page number and is a bit of mess, this needs to be trimmed down as per this example - maybe even with some nice boxes too! http://www.phpeasystep.com/phptu/29.html I would also like to either display the pagination both above and below the results, if not just shift it below. I would also like to allow the user the option to select the number of results displayed - the default is 10 at the moment - either 10, 25, 50 or all The existing offending code Code:
Appreciate there are a lot of "wants" here, but really, any help or support would be greatly appreciated as google searches and research isn't helping much! Thank you! Be gentle! |
|
|
|
|
|
#2 |
|
Join Date: Sep 2002
Location: Auckland
Posts: 1,227
Reputation: 59
|
i'm not sure of the rest, but you may want to use the PHP REQUEST function, instead of post and get.
http://www.w3schools.com/php/php_post.asp |
|
|
|
|
|
#3 | |
|
Registered
Join Date: May 2012
Location: Cardiff
Posts: 2
Reputation: 0
|
Quote:
The other stuff - no takers? I'm guessing it's outside the usual realms of free advice, it is complicated to me anyways!? |
|
|
|
|
![]() |
| Thread Tools | |
|
|