if isset php post code example
Example 1: php isset post
if (!empty($_POST["mail"])) {
echo "Yes, mail is set";
} else {
echo "No, mail is not set";
}
Example 2: php if isset
if (isset(true)) {
}
if (!empty($_POST["mail"])) {
echo "Yes, mail is set";
} else {
echo "No, mail is not set";
}
if (isset(true)) {
}