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’
);
编号
购物东西名字
价格
数量
图片

posted @ 2020-04-15 21:36  贵哥的编程之路  阅读(23)  评论(0)    收藏  举报