What does this judge? if (! empty ($_POST['name']) && $_POST['submit'])
The explanation in PHP is to judge the value of the button. Perform different operations
But how to use this specifically?
Please give me some answers
$_POST['name'] is not empty and $_POST['submit'] is not empty, that is, these two values must exist at the same time. But $_POST['submit'] is 0 false null cannot enter this if.
$_POST['name'] is not empty and $_POST['submit'] is not empty, that is, these two values must exist at the same time. But $_POST['submit'] is 0 false null cannot enter this if.