php post isset 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 isset
if (isset($val)) {
}
if (!empty($_POST["mail"])) {
echo "Yes, mail is set";
} else {
echo "No, mail is not set";
}
if (isset($val)) {
}