All pastes #587255 Raw Edit

Miscellany

public text v1 · immutable
#587255 ·published 2007-06-24 12:24 UTC
rendered paste body
$sql = &ADONewConnection('mysql');
$dbconn = $sql->Connect($config['mysql_host'], $config['mysql_user'], $config['mysql_password'], $config['mysql_db']);
if (!$dbconn) {
	die("<br /><b>There was a problem connecting to the database: ".mysql_error());
}

$check = $sql->GetRow("SELECT * FROM ".$prefix."settings WHERE setting='installed'");