<form action="" method="post">
<input type="text" name="email">
<input type="text" name="login">
<input type="text" name="password">
<input type="submit" name="submit" value="Войти">
</form>
И код
if(isset($_POST['email'], $_POST['login'], $_POST['password'])) {
echo 'Привет';
}
Но у меня проблема в том, что при нажатии на кнопку отправки, при пустых полях, выполняется условие. В чем проблема?