What I'm trying to do is redirect a user on a page to another page automatically, AFTER the MYSQL queries on the page have been executed, similar to - when you login on a forum, it says "thank you for logging in, click here if you are not automatically redirected" etc...
I can't use the following code as the headers have already been sent before my sql code has been run.
Code: Select all
<?php
header('Location: http://www.blah.com/blah.php');
?>Thanks