Hi guys,
I'm new here, so please be gentle.
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, and I'm happy to offer any advice back that i may be able to contribute - and looking forward to helping other people out on the board in the future!
As an experienced graphic designer, I'm also happy to trade expert opinions if anyone needs some help.
Basically I have this page which is spitting out contents of a dbase - der - but specifically, i am outputting the products in a particular category - they have a distinct product with name, cat ref and brand ref, and then in another table there are individual records for various size/price combinations.
http://www.mobilepetsupplies.com.au/index.php?section=shop&c=21 shows a page running with products in it.
The link to the code is:
http://www.mobilepetsupplies.com.au/cartpage.txt
You can see by the code basically i setup a heading with the brand image and the name and decsription of the product, the i go and recur each size/price combination in a form, so it can be put into the cart.
It's all going great, but I can't get pagination to work at all - I'm stuck. I've been utilising tutes, but i've followed a tute and im still stuck. I think its because of the way ive setup a function to generate an array of the contents of each product and then used a foreach to spit them out.
Like i say, any help most appreciated!
Thanks in advance, Lucas.