<? session_start(); error_reporting(1); if(mysql_connect('localhost','ЮЗЕР БД','ПАС БД')) { if(mysql_select_db('ИМЯ БД')) { mysql_query('SET NAMES UTF8'); } else { } } else { } ?>