Try below code with corrected insert:
DB::table('magazine_details')->insert([ 'magazine_id' => $request->magazine, 'page' => $request->pagename, 'page_description' => $request->description, 'page_number' => $request->pageno, 'file' => $audioName, 'created_at' => $date, 'updated_at' => $date, 'user_id' => 1 ]);
Regarding how to insert query, read the documentation.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us