utf-8-求解 mysql数据库第三行错误 birthday
程序员文章站
2024-01-17 19:17:16
...
utf-8mysqlcharacter数据库
create table user
(
id int primary key aotu_increment,
name varchar(40),
password varchar(40),
email varchar(40),
birthday date
)character set utf8 collate utf8_general_ci;
insert into user(name,password,eamil,birthday) values('zs','123456','zs@sina.com','1980-12-04');
insert into user(name,password,eamil,birthday) values('lisi','123456','lisi@sina.com','1981-12-04');
insert into user(name,password,eamil,birthday) values('wangwu','123456','wangwu@sina.com','1979-12-04');
上一篇: PHP施用GET传输汉字的编码转换
下一篇: php面试题之PHP语言基础(基础部分)