Hi all,
Looking for some help.
I have a website that currently focusses on local information based on one particular region of the UK and without going into subdomains etc. I want to expand the site to include another region, displaying information from my database, based on the region that the user decides to view.
I use a "head.inc" file to keep banner and menus the same on every page and want to add a drop down menu to this file, so the user can select to change region from anywhere in site and then any subsequent pages they go to will view info based on that choice until they change it.
Can I do this using a global variable? e.g. $area
I envisage this being set by default when the site is opened to area 1, but then a drop down menu which would chenge it between 1 and 2, depending on the users choice......then amending all my queries to include the area = $area
Any help anyone can give will be greatly appreciated.