php contact form

Hello, I’have already spent hours on this simple contact form and I cant still figure out how to redirect it to another page (e.g. index.html) after “submit” buttom is pressed. At the moment it just displays message
Your message was successfully sent! whit blank background…

<? $subject="from ".$_GET['name']; $headers= "From: ".$_GET['email']."\n"; $headers.='Content-type: text/html; charset=iso-8859-1'; mail("[email protected]", $subject, " Contact letter
" . "name: " .$_GET['name']. "
" . "email: " .$_GET['email']. "
" . "fax: " .$_GET['fax']. "
" . "message:

" .$_GET['message']." " , $headers); echo ("Your message was successfully sent!"); ?>

Hi there,

You can either use php:

Or javascript:

window.location = '';

Or a bad, but possible method, HTML:

<meta http-equiv="refresh" content="0;url=">
Sponsor our Newsletter | Privacy Policy | Terms of Service