if (is_string ($name) && is_string ($email) && is_string ($comments)) echo "Your email has been sent"; ?>