Save clone Div arrays to an Insert

Asked

Viewed 20 times

0

There are arrays that come from a div "clone" of jquery that can be duplicated or even more lines, like this:

product[] value[] Qtd[] total[] product[] value[] Qtd[] total[]

I need to save these arrays in an Insert, like this:

INSERT 'table' (product, value, Qtd, total) VALUES (product[],value[],Qtd[],total[]) ;

INSERT 'table' (product, value, Qtd, total) VALUES (product[],value[],Qtd[],total[]) ;

//OBS: I know this doesn’t work in VALUES but that’s what I need...

  • @rray remembering that if there are many records, it may not be very advantageous that, compensating the run repeatedly (as long as native binds are used, the data traffic is much smaller and faster, as the data will not be sent with separators, and are already transmitted as native type)

  • I’m sorry, but I couldn’t find the answer I needed in the indicated links and I couldn’t understand what was explained.. I don’t know if you understand me, the div I have is a clone in jquery that if you duplicate the data Insert also receives and is duplicated, if it is 3 Divs containing the variables, it receives via post and makes the Insert 3 times with the received variables..

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.