SyntaxFix
Write A Post
Hire A Developer
Questions
Whenever you want to redirect, send the headers:
header("Location: http://www.example.com/");
Remember you cant send data to the client before that, though.