Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/12427-php-pagination-of-shopping-cart-contents/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.