Accessing 'variables' across web pages
Hi I'm new to web design so forgive me if this is obvious stuff! I'm looking to display the total number of items currently in the shopping cart and their total price and I want to display this information on each of my web pages.
Currently the ecart summary page includes a total price value but not the total number of items. But I don't even seem to be able to access the total price from other pages.
How do I get these values - do I have to feed them into my database in order to recover them and display them on other web pages - or can I make them variables that I can access from other pages?
Your help would be much appreciated.