MySQL interesse |
|
Dit is de php.
<?php
$to = "reterterter@tertertertert.com";
$subject = "Email vanaf de website";
$bericht = $_POST['bericht'] ;
$header = "Van: " . $_POST['naam'] . "\n";
$header .= "Reply-To: " . $_POST['email'] . "\n";
$header .= "X-Priority: 1";
mail ($to, $subject, $bericht, $header);
?>
<?php $to = "reterterter@tertertertert.com"; $subject = "Email vanaf de website"; $bericht = $_POST['bericht'] ; $header = "Van: " . $_POST['naam'] . "\n"; $header .= "Reply-To: " . $_POST['email'] . "\n"; $header .= "X-Priority: 1"; mail ($to, $subject, $bericht, $header); ?>
Deze code werkt voor het leeg maken van de velden.
on (release) {
loadVariablesNum("mail.php", "0", "POST"); // eerst versturen
naam.text = '';
email.text = '';
}
on (release) { loadVariablesNum("mail.php", "0", "POST"); // eerst versturen naam.text = ''; email.text = ''; }
|