array ("post", "string", ""), ); getFields($fields); if (!$quota->cancreate("mysql")) { $msg->raise("ALERT", "mysql", _("Can't create a database: your quota is over")); include("sql_list.php"); exit; } $q=$quota->getquota("mysql"); if($q['u'] > 0){ $dbname=$mem->user["login"]."_".$dbn; } else { $dbname=$mem->user["login"]; } if($mysql->add_db($dbname)) { $msg->raise("INFO", "mysql", _("The database '%s' has been created."),$dbname); } #header('Location: sql_getparam.php?dbname='.htmlentities($dbname)); include("sql_list.php"); ?>