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 know this is really simple, but I am just having a hard time finding it on the interweb!
Update: I guess I should have mentioned this. I would really like the following...
<?php
SOMETHING DONE
GOTO($url);
?>
Would this work with as the following?
<?php
SOMETHING DONE THAT SETS $url
header('Location: $url');
?>