Laravel – How to insert multi-dimensional Array in DB
I have the array as below; I'd like to insert each name keys into tableName and get the inserted id. For the steps, each of them will be inserted into another table tableSteps including the last inserted id of the…