Re: Register
You need to add it to the query aswell .
$db->query("INSERT INTO users (username, login_name, userpass, realname, lastname, age, aog, msn, aim, aol, yahoo, pers, level, money, points, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( '{$username}', '{$username}', ('{$_POST['password']}'), '{$_POST['realname']}', '{$_POST['lastname']}', '{$_POST['age']}', '{$_POST['aog']}', '{$_POST['msn']}', '{$_POST['aim']}', '{$_POST['aol']}', '{$_POST['yahoo']}', '{$_POST['pers']}', 1, $sm, 0, 0, 1, 100, 100, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')");
Like that but oviously change them to what yours are called.