You want it to happen without loading? Then look at ajax
If not just make it post on change , and that will get the details in the post, then you can edit.
<?php echo $name; ?>
<?php echo $e_mail; ?>
<?php echo $tel ; ?>
These are not defined
Without really looking just do
<?php echo isset($name); ?>
<?php echo isset($e_mail); ?>
<?php echo isset($tel); ?>
Add some error reporting
remove the @ from the connecting function
and add
error_reporting(E_ALL); to the top of the pages
and add
die statements to the mysql_querys.
soz that should be
foreach($to as $to1)
{
mail($to1, "Subject: $subject",
$message, "From: $email" );
}
and the $to1 , is the var that is created for each email.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.