How do I click browser button in PHP : I have a contact.php file in website. When user submit contact form, the message is displayed with browser at www.myurl/contact.php. I want user to be redirected to myurl home page.
Here is the PHP code in the contact.php file:

    if ($_POST) {
    		if ($result)  echo 'Thank you! We have received your message.';
    		
    		else echo 'Sorry, unexpected error. Please try again later';

How will I do that?
