Home > Backend Development > PHP Tutorial > 商品库存有关问题,顾客每购买一个库存就对应减少一个

商品库存有关问题,顾客每购买一个库存就对应减少一个

WBOY
Release: 2016-06-13 12:35:44
Original
968 people have browsed it

商品库存问题,顾客每购买一个库存就对应减少一个。
PHP语句,做网上商城。某一个商品的库存为10,顾客每购买一个库存就对应减少一个。以前都是做增删改查,突然遇到这问题很头疼,不知如何入手。哪位大神有代码麻烦贴下代码,没代码的说说思路也行

php 库存
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template