I'm working within Laravel Spark and am inserting values into a MySQL table. I'm performing a series of inserts such as
DB::table('nameOfTable')->insert(['id' => $user['id']]);
DB::table('nameOfTable')->insert(['name' => $user['name']]);
The values are being inserted into the table properly, but each value is being placed on its own row. There's got to be a simple reason, but I haven't found any luck doing searches. Thanks in advance.