SyntaxFix
Write A Post
Hire A Developer
Questions
Send a Location header to redirect. Keep in mind this only works before any other output is sent.
Location
header('Location: index.php'); // redirect to index.php