Halihallo Nadine
readjet
ENUM NOT NULL ,
^^^
ENUM('wert1','wert2',...)
'wert1','wert2',... gibst du in phpMyAdmin dort ein, wo du sonst die
Länge für (VAR)CHAR, INT, ... Typen festlegst.
#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 'NOT NULL,
id
INT(10) NOT NULL, PRIMARY KEY (text
))' at line
Das nächste mal Doku-lesen:
http://dev.mysql.com/doc/mysql/en/ENUM.html
http://dev.mysql.com/doc/mysql/en/CREATE_TABLE.html
Viele Grüsse
Philipp
--
M$: Patches - don't.
M$: Patches - don't.