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’ ); 编号 购物东西名字 价格 数量 图片
PHP+MYSQL购物车实战(1)sql部分
关注
打赏