$sql = &ADONewConnection('mysql'); $dbconn = $sql->Connect($config['mysql_host'], $config['mysql_user'], $config['mysql_password'], $config['mysql_db']); if (!$dbconn) { die("
There was a problem connecting to the database: ".mysql_error()); } $check = $sql->GetRow("SELECT * FROM ".$prefix."settings WHERE setting='installed'");