xwishmasterx Posted April 27, 2011 Share Posted April 27, 2011 this little piece of code doesn't seem to work: if($rs_teamcheck['team_id'] != $team{ header( "Location: http://domain/page.php" ) ;} If I replace the header location part with an echo the output is fine, so why isn't the redirect working? Quote Link to comment Share on other sites More sharing options...
gristoi Posted April 27, 2011 Share Posted April 27, 2011 Remove any whitespace Quote Link to comment Share on other sites More sharing options...
xwishmasterx Posted April 27, 2011 Author Share Posted April 27, 2011 thanks for the fast reply, but seems I overlooked html being send before the code.lol topic solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.