PDA

View Full Version : Insert new tables in new_forum_sql


josraso
02-14-2008, 09:58 AM
First of all apologies for my English is not my case is that I am lengua.El installing the mod birthday and I have to insert this sentence in new_forum_sql and I do not see how they do it. The judgement is this

ALTER TABLE phpbb_users ADD user_birthday int(8) DEFAULT '0' NOT NULL;
And this too

INSERT INTO phpbb_config (config_name, config_value) VALUES ('bday_show',1);I hope someone can help me

Funky
05-17-2008, 02:08 PM
The same problem with me
can anyone help us plz

Derek
05-18-2008, 10:17 PM
Try this...


$sql[] = "ALTER TABLE " . $accessname . "_users ADD user_birthday int(8) DEFAULT '0' NOT NULL;";
$sql[] = "INSERT INTO " . $accessname . "_config (config_name, config_value) VALUES ('bday_show',1);";