How to make an expression in the operator if c &&, so that each expression is checked, and not just the first part? if (false && true) - checks only the first part and returns false. Assume:
if (empty($login) && empty($email)) {$error = 'Поля не должны быть пустыми.';}
With a full login and empty email, it gives false. How to write to login and email checked?