12星座被告白後會...
php - if isset $_POST - Stack Overflow裝傻是不好的唷.. Change it to this: if (isset($_POST["mail"]) && !empty($_POST["mail"])) { echo "Yes, mail is set"; }else{ echo "N0, mail is not set"; } So $_POST is always set, but its content might be empty. Since !empty() already checks whether the value is set, you ca...
全文閱讀