For the HTML form below, what is the correct functioning script that checks the input “mail” to be sure it is filled before proceeding?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

if (!empty(\$\_POST[“mail”])) {
echo “Yes, mail is set”;
} else {
echo “No, mail is not set”;
} (correct)

0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts