db_host."
";
echo "user:".$SQL->db_user."
";
echo "Pwd :".$SQL->db_pass."
";
echo "Db :".$SQL->db_name."
";
function insertAccout() {
global $SQL;
global $table_prefix;
$sqlstmt = "INSERT INTO ".$table_prefix."accounts (id_account,id_account_type,login,password,creation_date,expire_date,status) VALUES(99,2,'trial','test',NOW(),NOW(),0);";
echo $sqlstmt."
";
$SQL->insertquery($sqlstmt);
if ($SQL->db_error) {
return false;
}
return true;
}
if (insertAccout())
echo "successfull.";
else
echo "error.";
?>