salve, sto cercando di fare una tabella nel database denominata 'commenti', però mi da errore ho provato parecchie volte, ma ninte da fare mi da questo errore:
Errore
query SQL:
Messaggio di MySQL: DocumentazioneCodice:CREATE TABLE `my_squadranostra`.`commenti` ( `id_commento` INT( 6 ) NOT NULL AUTO_INCREMENT , `id_post` INT( 5 ) NOT NULL , `autore_commento` VARCHAR( 30 ) NOT NULL , `testo_commento` TEXT NOT NULL , `data_commento` DATE NOT NULL , `approvato` ENUM( ( '0', '1' ) ) NOT NULL , PRIMARY KEY ( `id_commento` ) ) ENGINE = MYISAM
#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 '('0','1')) NOT NULL, PRIMARY KEY (`id_commento`)) ENGINE = MyISAM' at line 1
dove sbaglio.
ciao

LinkBack URL
About LinkBacks


