In header.php I have:
<?php
if(!isset($_SESSION))
{
session_start();
}
?>
and further down I have:
$_SESSION[theme] = $_GET[theme];
Basicly there is a drop down box where the user selects the website theme, this sets the value of $_GET[theme] and I would like the selection to be remembered, however whenever the page is changed the theme resets to default.
header.php is the header file for every page - dont know if this is the problem.
If print_r($_SESSION) then the correct value is shown after Array [theme] => but if I click on a different page then Array [theme] => is reset to blank.
Please help me!