mój kod:
<?php } else{ include 'login.php'; } ?>
i wyrzuca błędy:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\_finish\index.php:1) in C:\xampp\htdocs\_finish\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\_finish\index.php:1) in C:\xampp\htdocs\_finish\index.php on line 2
Może ktoś mi wyjaśnić o co chodzi i jak to naprawić?
ps. googlowałem w tej sprawie i nie znalazłem żadnej pomocnej porady, PHPedia.pl podaje mi http://phpedia.pl/wiki/Cannot_add_header_i...rs_already_sent co nie jest moim błędem