Silnik strony + galerii zdjęć Suczawa 2009
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
423 B

<?
require_once('config.php');
require_once('functions.php');
$DB = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME); #connect with the database
if ($DB->connect_error) { #check if there were any errors connecting
showError('Could not connect do database server ('.$DB->connect_errno.'): '.$DB->connect_error);
}
if (!$DB->query("SET NAMES 'utf8'")) { #use utf-8
showError('Could not set character to UTF-8');
}
?>