array ("post", "string", ""), "password" => array ("post", "string", ""), "passconf" => array ("post", "string", ""), ); getFields($fields); if(!empty($usern)){ if (!$mysql->add_user($usern,$password,$passconf)) { $error=$err->errstr(); include("sql_users_add.php"); exit; } }else{ $usern=$mem->user["login"]; if (!$mysql->add_user($usern,$password,$passconf)) { $error=$err->errstr(); include("sql_users_add.php"); exit; } } include("sql_users_list.php"); ?>