How do I add new instances to a table in a database when the variable contains an array of strings
I am creating a website where the user is asked to input assets into an incident report and the user can add however many assets as they please. When I try to insert the values from the array into the SQL-database it doesn’t let me. I have a connection to the database in an included template so I am only showing the body and relevant code: