Help me, this its easy 4 you

hi guys!

well i dont know so much of php, but i have a code that send mail form the web. just that i want that this code when i send the email DON’T show a new page that say (( thanks. )) i want that when i push the button SEND just CLEAR all the textfield and send the message.

thanks!

code:

<?PHP
$to = “[email protected]”;
$subject = “Webpage”;
$headers = “From: my page”;
$forward = 0;
$location = “hi”;
$date = date (“l, F jS, Y”);
$time = date (“h:i A”);

$msg = "new webpage message en on $date at $time.

";

if ($_SERVER[‘REQUEST_METHOD’] == “POST”) {
foreach ($_POST as $key => $value) {
$msg .= ucfirst ($key) ." : ". $value . "
“;
}
}
else {
foreach ($_GET as $key => $value) {
$msg .= ucfirst ($key) .” : ". $value . "
";
}
}

mail($to, $subject, $msg, $headers);
if ($forward == 1) {
header (“Location:$location”);
}
else {
echo “thanks.”;
}

?>