How can I get a PHP function go to a specific website when it is done running?
For example:
<?php
//SOMETHING DONE
GOTO(http://example.com/thankyou.php);
?>
I would really like the following...
<?php
//SOMETHING DONE
GOTO($url);
?>
I want to do something like this:
<?php
//SOMETHING DONE THAT SETS $url
header('Location: $url');
?>