普通网友 2014-11-15 23:03
浏览 7

创建列表时php更新数据库

I'm new in php and I learn a lot from stackowerflow. I'm working on some kind of warehouse script. Most of it is done but I have problems with quantity. When I create receipt or delivery note everything work fine but when I try to change quantity at this documents then I lost myself. it work like this when I create delivery note:

  1. search for buyer
  2. add the buyer
  3. search article
  4. add the article (manualy specify quantity), automaticaly update quantity at my lager (if I had 5 pcs and add 3 pcs my lager is 2 pcs)

in case I make a mistake and I wanna change quantity I add one button called EDIT so I can change it. Then troubles begin. I can change it at delivery note but I cant recover my lager. Because I'm totaly new I'm using the simpliest add, update and delete query. So I'm wonder Can I somehow update my lager after I finish my delivery note. Any idea how to solve my problem?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 2024-五一综合模拟赛
    • ¥15 下图接收小电路,谁知道原理
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度
    • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
    • ¥15 ETLCloud 处理json多层级问题
    • ¥15 matlab中使用gurobi时报错
    • ¥15 这个主板怎么能扩出一两个sata口
    • ¥15 不是,这到底错哪儿了😭