主题:[转帖]我的SQL语句哪错了???--创建表
$sql="create table $tablename(
id int(10) not null auto_increment,
title varchar(20) not null,
neirong text not null,
fabushijian datetime,
faburen char(10),
shenhe char(10),
shenheshijian datetime,
shenheren char(10),
leibie char(20),
liulancishu char(10),
tupian varchar(10),
beiyong varchar(10),
primary key(id))";
表总是创建不成功 是不是我的SQL语句错了啊???
id int(10) not null auto_increment,
title varchar(20) not null,
neirong text not null,
fabushijian datetime,
faburen char(10),
shenhe char(10),
shenheshijian datetime,
shenheren char(10),
leibie char(20),
liulancishu char(10),
tupian varchar(10),
beiyong varchar(10),
primary key(id))";
表总是创建不成功 是不是我的SQL语句错了啊???