View file Core/connect.php

File size: 241B
<?
$mysqli = new mysqli("localhost", "Пользователь", "Пароль", "База");
if(mysqli_connect_errno())
	{
		die("Ошибка соединения: ".mysqli_connect_error());
	}
$mysqli->query("SET NAMES 'utf8'");
?>