PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 24th, 2005, 11:37 PM
90January 90January is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 5 90January User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 53 m 2 sec
Reputation Power: 0
Exclamation Previous Next Problem (pageable data)

I have a lot of data in my database, for instance 10000 records, with that I want to view only 50 records per page, and 10 page groups like this


Previous 1 2 3 4 5 6 7 8 9 10 Next


and when I click "Next" then I will see

Prevous 11 12 13 14 15 16 17 18 19 20 Next

and so on.. when I continue clicking the next.

Could anybody help me?

Reply With Quote
  #2  
Old June 25th, 2005, 04:35 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: UK
Posts: 160 edwinbrains User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 8 m 4 sec
Reputation Power: 14
Well here's a paging script you can use:

http://forums.devshed.com/showpost....249&postcount=9

It's just a case of adapting that to put in the page numbers you want. There may already be scripts around that do this, try searching Google perhaps. Have a go at creating what you're trying to do, and if you get suck with a particular problem, come back and we'll try to help.

Reply With Quote
  #3  
Old June 27th, 2005, 04:17 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 18
Forget google, try igrep =)
PHP Pagination would be some good keywords to start your search

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Previous Next Problem (pageable data)


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap