Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/u429516095/public_html/index.html on line 31
Mój kod:
<?php // rozpoczęcie buforowania (jest to potrzebne by nie mieć błędów typu headers already sent) // start sesji // jeśli user jest zalogowany if($_SESSION['logged']) { // wyświetlamy userowi jego dane } // jeśli nie jest zalogowany else { echo '<div id="PanelIndex"><a href="auth/login.php">Zaloguj się</a> <a href="register.php">Nowe Konto</a></div>' Linijka 31: } // koniec buforowania ?>
Proszę o pomoc