connect_error){ die("Ошибка подключения". $mysql->connect_error); } $query = "SELECT COUNT(*) AS count FROM Login"; $result = $mysql->query($query); $row = $result->fetch_assoc(); $count = $row['count']; echo "$count"; ?>