If there is a commodity inventory problem, each time a customer buys an inventory, one is reduced accordingly. PHP statement, as an online store. The inventory of a commodity is 10, and each time a customer buys an inventory, it is reduced by one. In the past, I used to add, delete, modify, and query data. I suddenly encountered this problem and did not know how to start it. Which of the following powerful gods has trouble posting code? if there is no code to talk about the idea, there is also a php product inventory problem. every time a customer buys an inventory, it will be reduced by one.
PHP statement, as an online store. The inventory of a commodity is 10, and each time a customer buys an inventory, it is reduced by one. In the past, I used to add, delete, modify, and query data. I suddenly encountered this problem and did not know how to start it. Which of the following powerful gods may have trouble posting code? You can also talk about ideas without code.
Php inventory
Share:
------ Solution --------------------
Update item set Inventory = inventory-1 is not enough