Heim >Backend-Entwicklung >PHP-Tutorial >Mysql 话语报错
Mysql 语句报错
DROP TABLE IF EXISTS `v9_guestbook`;<br />CREATE?TABLE?`v9_guestbook`?(???<br /> `gid`?smallint(5)?NOT?NULL?AUTO_INCREMENT,???<br /> `title`?char(80)?NOT?NULL,?<br />??`content`?text?NOT?NULL,???<br /> `reply`?text?NOT?NULL,?<br />??`userid`?mediumint(8)?unsigned?NOT?NULL?default?'0',??<br />? `username`?char(20)?NOT?NULL,?<br />??`gender`?tinyint(1)?unsigned?NOT?NULL?default?'0',???<br /> `head`?tinyint(3)?unsigned?NOT?NULL?default?'0',???<br /> `email`?char(40)?NOT?NULL,???`qq`?char(15)?NOT?NULL,?<br />??`homepage`?char(25)?NOT?NULL,?<br />??`hidden`?tinyint(1)?unsigned?NOT?NULL?default?'0',?<br />??`passed`?tinyint(1)?unsigned?NOT?NULL?default?'0',???<br /> `ip`?char(15)?NOT?NULL,?<br />??`addtime`?int(10)?unsigned?NOT?NULL?default?'0',???<br /> `replyer`?char(20)?NOT?NULL,?<br />??`replytime`?int(10)?unsigned?NOT?NULL?default?'0',???<br /> PRIMARY?KEY?(`gid`),? <br /> KEY?`hidden` (`hidden`,`gid`)<br /> );