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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.