Topic: MySQL Help .. again :(

For some reason my query isn't working :\  I added the new fields and formated them just like the original working query, but I must have done something wrong.

$db->query('INSERT INTO '.$db->prefix.'users (username, group_id, password, email, email_setting, save_pass, timezone, language, style, registered, registration_ip, last_visit, picurl, charname, type, charinpic, category) VALUES(\''.$db->escape($username).'\', '.$intial_group_id.', \''.$password_hash.'\', \''.$email1.'\', '.$email_setting.', '.$save_pass.', '.$timezone.' , \''.$db->escape($language).'\', \''.$pun_config['o_default_style'].'\', '.$now.', \''.get_remote_address().'\', '.$now.', \''.$picurl.'\', \''.$charname.'\', \''.$type.'\', \''.$charinpic.'\', \''.$category.'\')') or error('Unable to create user', __FILE__, __LINE__, $db->error());

Help would be greatly appreciated.

Re: MySQL Help .. again :(

Well, I forgot to put the new field in the database, lol tongue