I do not understand what the problem is, I checked the request for efficiency, it works without problems.
Notice: Undefined variable: res in /home/m/mukhamwf/hata.test/public_html/reg.php on line 37 Fatal error: callback a function /public_html/reg.php on line 37
//авторизация if(isset($_POST['auth'])){ message::info("Вход на сайт"); $view="SELECT * FROM user_info WHERE user_info.email='$email' LIMIT 0,1"; if($rez=$mysqli->query($view)) {$row = $res->fetch_assoc();}; }