I am updating a clients existing site which uses PHP and smarty to handle some pages with the xcart excommerce system.
Basically i have done a listing of products and i now want to do some page navigation to get to pages 2, 3 etc etc.
Each of these page numbers links to an URL like -
My problem is i cannot for the life of me get $_GET[page] to give me the page number 3 so that i can then set my offset in my query.
I am doing my query in PHP and not smarty.
I'm new to smarty and tbh find it a bit of a headache. Can someone let me know how to get this very simple issue resolved? I must be missing a trick somewhere but it doesn't seem very obvious.