query("INSERT INTO Users VALUES ('".$username."', '".$hash."', 'admin', '0', '0')")) echo 'The following admin user was created: '.$username; else echo $mysqli->error; $mysqli->close(); } else { echo 'Query parameters required'; } ?>