Parse error: syntax error, unexpected ';' in /users/rayvez/www/emaster/switch.php on line 11
PHP:
<?php
$refresh=false;
if(isset($_POST['styleswitcher'])) {
if ($_POST['style']=="\"Lime-on-Black\"")
{$style="emaster.css";
}
elseif ($_POST['style']=="\"Black-on-White\"")
{$style="bunt.css";
}
else {$style="normal.css";
**Zeile 11** setcookie('style', $style, time()+365*24*3600, "/" ;)
$refresh=true;
}
?>
<form method="post" action="">
<select name="styles">
<option name="1">"Lime-on-Black"</option>
<option name="2">"Black-on-White"</option>
</select><br />
<input type="submit" value="Dieses Style verwenden" />
</form>