How do I insert multiple value if there is only one value in form
问题 I need to know how can I insert or update a value in my DB for a invoice form if the value of the input that I need to save is only one time? I have a invoice form where I select a product in every row, and finally I have the input(user_id) with the value I need to save with the rest of the inputs Like per example, I choose in the invoice: 10 tomatoes 5 garlics 2 beans and finally there is my Id (user_id, not the Id of PRODUCTOS table that is unique) Id=1 Here is the schema of my table, and