I've built a login page, but I've done something wrong in that when the user's password is checked, they're supposed to be redirected to the admin page. But when that sceanrio is being processed, apparently I've got something in my header that is fouling up the works.
The error message is: Warning: Cannot modify header information - headers already sent by (output started at /home/hihatweb/public_html
er.php:5) in /home/hihatweb/public_html
ult.php on line 17
My code is attached. Line 17 is "header("Location:admin.ph
p"); What am I missing?
$_SESSION['auth'] = "yes";