isset post php code example
Example 1: isset submit in php
if(isset($_POST['submit']){
//Your Code Here
}
Example 2: php isset post
if (!empty($_POST["mail"])) {
echo "Yes, mail is set";
} else {
echo "No, mail is not set";
}
if(isset($_POST['submit']){
//Your Code Here
}
if (!empty($_POST["mail"])) {
echo "Yes, mail is set";
} else {
echo "No, mail is not set";
}