· 8 years ago · Dec 11, 2017, 12:50 AM
1CREATE TABLE IF NOT EXISTS 'chat' (
2 'id' int(11) NOT NULL AUTO_INCREMENT,
3 'time' timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
4 'username' varchar(32) NOT NULL,
5 'text' varchar(128) NOT NULL,
6 PRIMARY KEY ('id')
7) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1
8
9#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 ''chat' (
10 'id' int(11) NOT NULL AUTO_INCREMENT,
11 'time' timestamp NOT NULL D' at line 1