Nadine: Was mach ich falsch ?

Beitrag lesen

Hallo,

wollte in PHPMyAdmin eine neue Tabelle anlegen, habe das auch versucht aber jetzt kommt die Meldung was mache ich falsch ?

Gruß Nadine

MELDUNG:

SQL-Befehl :

CREATE TABLE pm (

fromid INT( 10 ) UNSIGNED NOT NULL ,
fromuser VARCHAR( 20 ) NOT NULL ,
toid INT( 10 ) UNSIGNED NOT NULL ,
touser VARCHAR( 20 ) NOT NULL ,
betreff VARCHAR( 128 ) NOT NULL ,
date VARCHAR( 10 ) NOT NULL ,
text TEXT NOT NULL ,
readjet ENUM NOT NULL ,
id INT( 10 ) NOT NULL ,
PRIMARY KEY ( text )
)

MySQL meldet:

#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