Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-17-2011, 01:45 PM   PM User | #1
LSCare
Regular Coder

 
Join Date: Jun 2011
Location: Swindon, England
Posts: 124
Thanks: 3
Thanked 9 Times in 9 Posts
LSCare is an unknown quantity at this point
Multi-Pageing

Hello All,

I have done a search for what I want to find out but everything I find is too embedded in another process it isn't clear to me what I actually need to do...

What I want to do is to create something which takes data from a database, gives of a number of pages through which I can click next prev or a number. (like any online catalogue)

I don't know why I can't seem to work this out myself but I am struggling with the very basic principle of how on this one...

Could anyone provide a very simple base code for doing this?

Kind Regards,
Laurence S Care
LSCare is offline   Reply With Quote
Old 11-17-2011, 03:20 PM   PM User | #2
myfayt
Senior Coder

 
Join Date: Apr 2010
Posts: 1,156
Thanks: 46
Thanked 95 Times in 94 Posts
myfayt can only hope to improve
The term is called "Pagination" google it, it's kind of complex to learn when you are first using it.
__________________
Been a sign maker for 5 years. My business:
American Made Signs
myfayt is offline   Reply With Quote
Old 11-17-2011, 03:23 PM   PM User | #3
LSCare
Regular Coder

 
Join Date: Jun 2011
Location: Swindon, England
Posts: 124
Thanks: 3
Thanked 9 Times in 9 Posts
LSCare is an unknown quantity at this point
Cheers and 'Pagination'! what kind of a word is that!
LSCare is offline   Reply With Quote
Old 11-17-2011, 04:03 PM   PM User | #4
myfayt
Senior Coder

 
Join Date: Apr 2010
Posts: 1,156
Thanks: 46
Thanked 95 Times in 94 Posts
myfayt can only hope to improve
I know right! I am still wondering who came up with it and why.
__________________
Been a sign maker for 5 years. My business:
American Made Signs
myfayt is offline   Reply With Quote
Old 11-17-2011, 11:28 PM   PM User | #5
MattClark
Regular Coder

 
Join Date: Jan 2011
Posts: 120
Thanks: 6
Thanked 2 Times in 2 Posts
MattClark has a little shameless behaviour in the past
http://www.developphp.com/view.php?t...tabase_Results

This is the video tutorial I used to learn about pagination. It's pretty solid. He has a lot of nice videos on there.
MattClark is offline   Reply With Quote
Old 11-18-2011, 03:23 AM   PM User | #6
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,602
Thanks: 2
Thanked 398 Times in 391 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
There are a couple of examples/options in the PHP Snippets forum as well.
Inigoesdr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:40 AM.


Advertisement
Log in to turn off these ads.