logout.php <? { $logout = session_destroy(); if($logout) { header("Location: index.php"); } else { die("Wystapil problem z wylogowywaniem"); } } else { die("zaloguj sie, jesli chcesz sie wylogowac"); } ?>
i wywala mi blad:
Cytat
Parse error: syntax error, unexpected T_STRING in /var/www/sites/yoyo.pl/e/r/erykwojdyla/ErykCMS/logout.php on line 7
O co tu chodzi, dlaczego to: header("Location: index.php"); jest niby żle??
Prosze o pomoc