检查 $_POST 值是否为空
2022-08-30 13:27:46
if(isset($_POST['submit'])) {
if(!isset($_POST['userName'])) {
$username = 'Anonymous';
}
else $username = $_POST['userName'];
}
我无法将 设置为“匿名”?它为空或 的值。$username
$_POST['userName']