PHP+MYSQL购物车实战(1)sql部分

create table if not exists shop_goods(
id int unsigned auto_increment key,
gname varchar(50) not null unique,
price decimal(10,2) not null default 0,
number int unsigned not null default 0,
pic varchar(50) NOT NULL DEFAULT ‘jd.jpg’
);
编号
购物东西名字
价格
数量
图片

发布了25 篇原创文章 · 获赞 2 · 访问量 79

猜你喜欢

转载自blog.csdn.net/qq_37805832/article/details/105543207