este es el codigo q estoy usando y no c dond esta el error, use los codigos q me distes, pero igual, la pagina me sale en blanco,
<html>
<head>
<title>informacion</title>
</head>
<body>
<?php
if(isset($sumit)):
$to="
[email protected]";
$subject="Informacion para el sitio web";
$body="Un usuario ha introducido datos en el sitio\n");
$body .="sus datos son:\n\n";
$body .=feedback;
mail($to, $subject, $body);
print("<h2> Gracias por su informacion </h2>\n");
else:
?>
<form action="feedback.php" method="POST">
<h2>Por favor, envienos sus datos </h2>
<textarea cols=35 rows=15 name"feedback">
</textarea>
<br>
<input type="sumit" name="submit" value="Enviar">
</form>
<?
endif;
?>
</body>
</html>