CREATE TABLE IF NOT EXISTS 'userlogin' (
'user' varchar(30) character set utf8 NOT NULL,
'pass' varchar(30) character set utf8 NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO 'userlogin' ('user', 'pass') VALUES
('test', 'test');
แต่พอกด Go แล้วมันเออเร่อแบบนี้นะครับ
Code
'user'VARCHAR( 30 ) CHARACTER SET utf8 NOT NULL ,
'pass'VARCHAR( 30 ) CHARACTER SET utf8 NOT NULL
) ENGINE = MYISAM DEFAULT CHARSET = latin1;
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''userlogin' (
'user' varchar(30) character set utf8 NOT NULL,
'pass' varchar(3' at line 1