if (isset($_POST['nombre']) OR isset($_POST['email'])){
$cuerpo = “Masteatro – Newsletter”;
$cuerpo .= “Nombre: ” . $_POST["nombre"] . “\n”;
$cuerpo .= “E-mail: ” . $_POST["email"] . “\n”;
// GRABAMOS LOS DATOS DEL CONCESIONARIO EN LA TABLA CORRESPONDIENTE.
//mando el correo…
mail(“info@masteatro.com”,”Masteatro Newsletter”,$cuerpo);
echo ‘
Gracias por tu solicitud. Hemos recibido tus datos para que recibas la newsletter.
‘;
}else{
?>
Suscribete a la newsletter