PHP Redirect issue with mysql and user id?
I am having a redirect from the login page of a members site. After they
login it will take them to their profile. But I am having trouble
redirecting to their unique profile. Here is what I am using:
header("Location: http://www.game-index.org/profile.php?id=echo
$dn['id'];"); exit();
And here is the error:
Warning: Cannot modify header information - headers already sent by
(output started at /home/sco0100/public_html/log-in.php:8)...on line 98
No comments:
Post a Comment