|
|||
hi markus,
da kommt folgende fehlermeldung. Code:
ALTER TABLE XXX_teams_spieler `nation` char( 0 ) COLLATE utf8_unicode_ci default '' COMMENT 'Nationalität', Code:
#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 '`nation` char(0) collate utf8_unicode_ci default '' COMMENT 'Nationalität',' at line 1
__________________
BundesligaGoal_Saison 2009/2010 :: BundesligaTippSpiel :: BundesligaGoal_Saison 2010/2011 :: BundesligaTippSpiel :: |
Sponsored Links |
|
|||
hi markus,
also wenn ich im internet suche nach fehler php und verb komme ich da net so richtig weiter !? mfg sony
__________________
BundesligaGoal_Saison 2009/2010 :: BundesligaTippSpiel :: BundesligaGoal_Saison 2010/2011 :: BundesligaTippSpiel :: |
|
|||
Ja stell dir vor xD Ich wollte dich damit nur auf deinen Fehler hinweisen. Weil im Manual alles genauestens erklärt wird. Dein Code müsste in etwa so aussehen:
PHP-Code:
__________________
MfG Markus Köhler |
|
|||
geht leider auch nicht:
"ALTER TABLE XXX_teams_spieler ADD `nation` char(0) COLLATE utf8_unicode_ci default '' COMMENT 'Nationalität',"; fehler: #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 '"ALTER TABLE XXX_teams_spieler ADD `nation` char(0) COLLATE utf8_unicode_ci' at line 1 die bestehende tabelle sieht übrigens so aus: Code:
CREATE TABLE `XXX_teams_spieler` ( `id` int(6) NOT NULL auto_increment COMMENT 'ID des Spielers (SpielerID)', `team_id` int(3) NOT NULL default '0' COMMENT 'TeamID des Teams, f? der Spieler spielt', `name` varchar(250) collate utf8_unicode_ci NOT NULL default '' COMMENT 'Name des Spielers', `nummer` varchar(5) collate utf8_unicode_ci default '' COMMENT 'R?ummer des Spielers', `position` varchar(20) collate utf8_unicode_ci default '' COMMENT 'Spielposition des Spielers', `birthday` date NOT NULL default '0000-00-00', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=5253 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5253 ;
__________________
BundesligaGoal_Saison 2009/2010 :: BundesligaTippSpiel :: BundesligaGoal_Saison 2010/2011 :: BundesligaTippSpiel :: |
|
|||
Da kann ich dir leider auch nicht mehr weiterhelfen, bin auch nicht so ein MySQL-Pro. Könnte bitte jemand anders mal die Code-Zeile durchchecken? Danke. Sorry.
__________________
MfG Markus Köhler |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Frage zu einem Abstand, 2 Frage zu einem Bildwechsel (MouseOver) | moonsorrox | CSS | 7 | 24.06.2011 09:31 |
XHTML 1.0 , 1.1, 1.2, 2.0 frage??? | Altair_AC | (X)HTML | 8 | 15.08.2009 14:49 |
Doctype Verständniss Frage | Midnight Run | (X)HTML | 4 | 26.12.2008 04:16 |
Frage zu einem Gedanken (DIV positionieren) | charlie | CSS | 1 | 06.09.2008 12:36 |
Frage zu "display:block;" | John | CSS | 1 | 05.04.2005 17:58 |