Hi,
I have a login script........if the user provides correct login info i creat a session and redirect with the following code:
Code PHP:$_SESSION['first_name'] == $first_name; header("location:home.php");
This gives me a headers already sent error.....it says output started on this line:
Code PHP:$_SESSION['first_name'] == $first_name;
How do i fix this?! I need to set the session up and then i need to redirect. The only solution ive come accross is output buffering but it seems clumsy.
Any suggestions?








Bookmarks