array('align' => array(2.99), 'id' => array(10022)), 'g_nologin' => array('align' => array(2.99), 'id' => array(10022))); $mysql = mysql_connect('localhost', 'gold_bk_2002', 'v31hl1vb1091w'); mysql_select_db('cap_old-dark_2002', $mysql); mysql_query('SET NAMES CP1251'); $c = array('site' => 'capitalcity.old-dark.ru'); #define('_HOST_NAME', 'localhost'); #define('_DATABASE_NAME', 'cap_old-dark_2002'); #define('_DATABASE_USER_NAME', 'gold_bk_2002'); #define('_DATABASE_PASSWORD', 'v31hl1vb4425q'); #$dbh = new MySQLi(_HOST_NAME, _DATABASE_USER_NAME, _DATABASE_PASSWORD, _DATABASE_NAME); ###Costa MysqLi### #$dbh = mysqli_init(); #$dbh = new mysqli('localhost', 'gold_bk_2002', 'v31hl1vb4425q', 'cap_old-dark_2002'); #if($dbh->connect_error) { # die('Ошибка подключения ('.$dbh->connect_errno.') '.$dbh->connect_error); #} include_once('clean_injection.php'); ?>