Hey
I'd like to say sorry to begin with, because im learning PHP, and all i keep doing is come back here for advice, so i'd be more than understanding if you lot didnt help me anymore!
My problem now is:
that comes up on my log in formCode:Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/clubpixe/public_html/callum/index.php:10) in /home/clubpixe/public_html/callum/index.php on line 20 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/clubpixe/public_html/callum/index.php:10) in /home/clubpixe/public_html/callum/index.php on line 20
Now the code it mentions is this:
And i just dont know what i've done wrong.... Knowing me it'll be a very silly mistake... and if its not too much to ask, If you do try and help can you tell me how you came to that conclusion so i can learn rather than copy and paste??PHP Code:<?php
session_start();
include("config.php");
if(isset($_SESSION['logged_in'])) {
}
Thank yooo
Callum






Reply With Quote



