$site_id = 1;
$host = "kostip.ru";
$login = "newbaseadmin";
$pass = "78dndk3dfjk43";
$dbname = "newbase";
$link = mysql_connect($host, $login, $pass) or die ("Could not connect to MySQL");
mysql_select_db ($dbname) or die ("Could not select database");
?>Query failed