Can someone please inform me how to change a $_SESSION variable with a link click as the event?
Ie <a href="same page"> <?php $_SESSION['page'] = "variable" ?> </a>
The above does not work.
I am simply trying to get a page to change the name of an included file. So each link will call the same page but with a different value in the $_SESSION['page'] variable so that the content of the page will change.
In the main index page i am using <?php include($_SESSION['page']) ?>.
Cheers
/Steve