I use
if(!empty($_POST['login'])){
}
for checking that login is file is filled, it work when I checking 1 variable, but not working when I use
if(!empty($_POST['login'],$_POST['password'] )){
}
how to check 2 variables, I see that isset() too support only 1 variable
Use a logical and operation (
&&) along with two calls toempty(), like so: