I have a page (template.php) that I want to use as the main page for a site. In template.php I have an php include calling the main content of the page. This include is called using <? include($_SESSION['page']) ?>
I want to know how I can use the variable to change the content (ie the include variable) from a users input. For example, a link in the page, once clicked, will change the variable $_SESSION['page'] and reload template.php with the new included content.
Can this be done? Please help.
Steve