Hey there, please forgive me if any of my being a noob irritates you. :p
Here's the deal.
My website has two different themes that you can select. I want to know how to/what to add to my index.php file that will turn the URL into something like this depending on what theme you select:
www.thesitename.com/index.php?page=home&theme=theme_name
Here's my current index.php file:
<?php
$page
=$_GET['page']; if(!
$page || $page == ""){$page= "home";} ?>
<html><head></head>
<body>
<?php include("$page.html"); ?>
</body>
</html>
It would also help if anyone knew how to have the site create a cookie that remembers what the user selected, so the next time they visit the site they see the same theme.
Any help appreciated!