Jump to content

Insert PHP Grid Data into Mysql Table


maideen

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/287925-insert-php-grid-data-into-mysql-table/
Share on other sites

 

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

 

Do what exactly?

 

If it's how to save all the items into mysql database, do one large insert query including a column for that users id, order id...maybe both... or however you do it.

 

You would need to show some sort of code and expalin better what you want to do, question is too vague.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.