Seite 1 von 1

SQL-Befehl?

Verfasst: 01.04.2006 17:51
von daruler
Wenn ich diesen Befehl ausfuehren will:

Code: Alles auswählen

INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_rank', '1')
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_mod_disable', '0');
Bekomme ich folgende error-message:
MySQL a répondu:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_mod' at line 2
Weiss einer weshalb?

Re: SQL-Befehl?

Verfasst: 01.04.2006 18:07
von gloriosa
Hallo,
da
daruler hat geschrieben:Wenn ich diesen Befehl ausfuehren will:

Code: Alles auswählen

INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_rank', '1')
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_mod_disable', '0');
Weiss einer weshalb?
fehlt ein ; ! :wink:
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_rank', '1') ;
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ('april_mod_disable', '0');

Verfasst: 01.04.2006 18:12
von daruler
Ahhh, vielen Dank gloriosa und wen du mir evtl. hier noch behilfreich sein koenntest: http://www.phpbb.de/viewtopic.php?t=117127 so koennte ich den April-Scherz auch auf meiner Site aktivieren :)