Ciao a Tutti, se importo la seguente query:
codice:
#
# Struttura della tabella `commenti`
#
CREATE TABLE commenti (
ip varchar(15) NOT NULL default '0',
data int(11) NOT NULL default '0',
autorizza char(1) NOT NULL default '0',
id int(11) NOT NULL auto_increment,
id_news int(11) NOT NULL default '0',
autore varchar(30) NOT NULL default '',
email autore varchar(100) NOT NULL default '',
titolo commento varchar(50) NOT NULL default '',
commento mediumtext NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
Ricevo Quest'errore:
Messaggio di MySQL:
#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 'autore varchar(100) NOT NULL default '0',
titolo commento va
...Sapete Dirmi come risolvere? Non ne capisco grankè.
Ciao & grazie.