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-20-2007, 11:48 AM   PM User | #1
Roshnie
New to the CF scene

 
Join Date: Feb 2007
Location: mauritius, plouis
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Roshnie is an unknown quantity at this point
Question displaying products in multiple pages

Hi
can any1 plz tell me how 2 display my products in multiple pages each having a link at z bottom of z page to go to z other page e.g next n previous or simply 1,2,3,4,..............
Roshnie is offline   Reply With Quote
Old 11-20-2007, 12:56 PM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
I think you are looking for pagination class, but you may have to ensure the readability of your post since it is a public forum.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 11-20-2007, 03:31 PM   PM User | #3
aedrin
Senior Coder

 
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
aedrin will become famous soon enough
Quote:
at z bottom of z page to go to z other page
I think that is the first time that I have seen someone use Z instead of The. Is typing really that hard? I wouldn't bother programming because you will be doing a lot of typing.

As to your question, it depends on your setup. Since you didn't give us any information you won't find much help here.

If you are using a database, you will need to use LIMIT and pass around an offset through your links.
aedrin is offline   Reply With Quote
Old 11-21-2007, 11:48 AM   PM User | #4
Roshnie
New to the CF scene

 
Join Date: Feb 2007
Location: mauritius, plouis
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Roshnie is an unknown quantity at this point
Question

Sorry
Actually this is the first time i am posting something that's why i made zat mistake.

Infact im working on an ecommerce website and as i have lots of products i don't want them to be displayed all in a single page instead i want to display the product on multiple pages having the navigation at the bottom of the page
like next>> n <<previous or preferable 1,2,3,.......

Think i have been more explicit this time!!!!

Thanks
Roshnie
Roshnie is offline   Reply With Quote
Old 11-23-2007, 05:18 AM   PM User | #5
Roshnie
New to the CF scene

 
Join Date: Feb 2007
Location: mauritius, plouis
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Roshnie is an unknown quantity at this point
Thanks

Thanks abduraooft the link you provided to the pagination class
really works.

Thanks
Roshnie
Roshnie 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 10:18 PM.


Advertisement
Log in to turn off these ads.