将PHP网格数据插入Mysql表 [英] Insert PHP Grid Data into Mysql Table

查看:78
本文介绍了将PHP网格数据插入Mysql表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个问题。我不知道怎么解决也不知道。这是我的情景。



我有产品表,详细信息,售价,购买价格等。我想给客户开发票。

客户可以在单张发票中购买大量商品。如果我选择产品,它将显示项目名称,销售价格

Uom在文本框中。如果我单击添加按钮,它将在php页面的网格中显示。我必须逐个完成此操作,直到客户订购的商品完成为止。然后我点击提交,然后Grid中的项目应保存到Mysql Data表中。



它看起来像购物车,但不是



如果有任何想法以及如何做到这一点,请与我分享您的知识。



谢谢



Maideen

Hi

I have one issue. I do not know how to solve and also no idea. It is my scenario.

I have Product table with details,selling price, purchase price and so on. I want to invoice to clients.
Clients can buy lots of item in single invoice. If I select product, it will display the Name of item,Sell price
Uom in text box. If I click the add button, it will show in grid in php page. I have to do this one by one until client's ordered items completed. Then I click submit, then the items in Grid should be saved into Mysql Data table.

It look like cart, but not

If there is any idea and how to do this, pls share your knowledge with me.

Thank you

Maideen

推荐答案

参考:

1. 用PHP创建简单的购物车 [ ^ ]

2. simple-php-shopping-cart-tutorial [ ^ ]
Refer:
1. Creating Simple Shopping Cart with PHP[^]
2. simple-php-shopping-cart-tutorial[^]


这篇关于将PHP网格数据插入Mysql表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆