connect_error){ die("Ошибка подключения". $mysql->connect_error); } $query = "SELECT COUNT(*) as count FROM `ZUsers`"; $result = $mysql->query($query); $row = $result->fetch_assoc(); $countik = $row['count']; if(!$result){ echo "что-то не так"; } $query = "SELECT COUNT(*) as count FROM `Orders1`"; $result = $mysql->query($query); $row = $result->fetch_assoc(); $countik1 = $row['count']; if(!$result){ echo "что-то не так"; }