";
else
$name = trim($_POST['name']);
if (empty($_POST['email']))
echo "Please enter your email address
";
else
$email = trim($_POST['email']);
if (empty($_POST['comment']))
echo "Please enter comment
";
else
$comment = trim($_POST['comment']);
}
if ($name != NULL && $email != NULL && $comment != NULL)
{
echo "Thanks for this comment, $name
";
echo "$comment
";
echo "We will reply to $email
";
}
?>