V
V
Viktoria Smirnova2019-01-12 17:22:28
Java
Viktoria Smirnova, 2019-01-12 17:22:28

How to pass a new record from the database to cookies?

I write the array of data on the order of the goods to the database. The database structure is standard for e-commerce. The question is this: when the array goes to the database, the database increments the ID, I need to transfer this ID to the client, how to do this? It is not possible to write down and immediately read the client's first name and last name is not unique.
That is, get a response from the table, preferably with a record number)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question