PDA

View Full Version : Execute SQL Query question


CarlosV
04-05-2007, 02:33 AM
Hi all,

I added already some mods to my Multi-Forums, now want to test the "execute SQL query" option to add some info in my users databases, but i think i dont get the instructions correct.

For example, adding a mod, the instructions says:


INSERT INTO `phpbb_config` SET `config_name`='mods_priority', `config_value`='1';


I added the correct lines to the file new_forum_sql.php and new forums are working ok.

What I cant find out is where i need to add the {accessname}_ prefix on it to be able to run it and get it working for the already running forums using the Execute SQL query option in the Admin Control Panel.

I hope someone can show me an example of the correct way to run the query from there.

Thank you in advanced.

Derek
04-05-2007, 06:58 AM
INSERT INTO `{accessname}_config` SET `config_name`='mods_priority', `config_value`='1';

Derek