Come inserire questi dati in PhpmyAdmin
Scusate per il disturbo ma vorrei sapere come inserire questo codice in PhpmyAdmin:
Codice:
#
#-----[ SQL ]------------------------------------------
#
# Only do these SQL queries if you can not run the mod_update.php file.
# Otherwise, please run (go to it in your browswer) that as it's easier.
#
# If you don't use MySQL, you'll need to edit these queries accordingly
#
# If you have a different table prefix then change these commands accordingly.
# These currently use the default table prefix.
DELETE FROM `phpbb_config` WHERE config_name='lottery_lastwon';
UPDATE `phpbb_config` set config_value = '0' where config_name = 'lottery_reset';
UPDATE `phpbb_config` set config_value = '0' where config_name = 'lottery_status';
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_items', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_win_items', '');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_show_entries', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_mb', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_mb_amount', '1');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_history', '1');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_currency', '');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_item_mcost', '1');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_item_xcost', '500');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('lottery_random_shop', '');
CREATE TABLE `phpbb_lottery_history`
(
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` INT (20) NOT NULL,
`amount` INT (20) NOT NULL,
`currency` CHAR (32) NOT NULL,
`time` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`)
);
Potreste aiutarmi voi??