In your php for your account creation page you will have something like this:
PHP Code:
"INSERT INTO `accounts` (`login`,`password`,`lastip`,`flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."', '".mysql_real_escape_string($tbc)."')"
Now what you want to do is add an extra line in called gm, it will look like this:
PHP Code:
"INSERT INTO `accounts` (`login`,`password`,`lastip`,`flags`,gm`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."', '".mysql_real_escape_string($tbc)."', '".x.'")"
my php isnt very good and my dumps are just as good but give that adding an extra table data entry called gm and give it a value of x and that is that.