Jump to content

How to insert multiple records of same table


yandoo

Recommended Posts

Hi there,

 

Is there a way to insert multiple records of the same table at the same time????

 

In my shop each time a customer purchases a type of product a new order is submitted detailing: orderID, productID, CustomerID and Qty.

 

In their cart at the point of purchase they may have more than one type of product and quantiies for each, in the carts. In this situation i think i need to insert an order for each type of product in the same form...

 

Is it possible to do this???

 

Thanks

 

 

Link to comment
Share on other sites

So you could have an order that looks like

 

orderId=1bb

 

customerID =Joe1

 

ProductID = 9af

quantity = 2

 

ProductID = 6az

quantity = 1

 

etc?

 

that would all appear in a single instance of the cart?

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.