Jump to content

Archived

This topic is now archived and is closed to further replies.

CoastlineLucas

PHP Pagination of Shopping Cart Contents

Recommended Posts

Hi guys,
I am going out of my mind trying to figure this out - been php'ing and sql'ing for over 6 months now, and have tried my guts out on this one but i am seriously absolutely stuck! Any help would be most appreciated!

[a href=\"http://www.mobilepetsupplies.com.au...hop&c=21\" target=\"_blank\"]Example Page of Shopping Cart[/a]

I have my record limiting working correctly, I have my records displaying correctly.

If i utilise my URL switch, page=2, i get the right data. ie [a href=\"http://www.mobilepetsupplies.com.au...hop&c=21&page=2\" target=\"_blank\"]http://www.mobilepetsupplies.com.au...hop&c=21&page=2[/a]
Even the page numbers at the bottom properly display themselves.
What I can't get working is the page numbers across the bottom to actually display as hyperlinks and link through to the other pages from page 1.

Incidentally, I am limiting the number of records to 3 currently, there are at least 4 in the database to be displayed.

The total code for the page is this:
[a href=\"http://www.mobilepetsupplies.com.au/cartpage.txt\" target=\"_blank\"]http://www.mobilepetsupplies.com.au/cartpage.txt[/a]

Any help would be great, like i said I've spent what actually is now the best part of a day on this and am totally stuck, cheers.

Like i say, any help most appreciated!
Thanks in advance, Lucas

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.