Parse error:syntax error,unexpected 'id'(T_STRING)怎么解决
这是我在php连接MySQL时出现的问题,表是这样的:
create table news(
id int(10) unsigned auto_increment primary key comment '新闻编号',
title varchar(60) not null comment '新闻标题',
content text not null comment '新闻内容',
addtime timestamp default current_timestamp not null comment '发布时间'
)charset=utf8;
是不是id不能用int?