Level 1
please help anyone...
I need a solution for this I inserted the multiple row of data through js in laravel..
how to get a data from js in controller ....
$rows = $request->input('rows'); if ($request->hasFile('receipt_upload')) {
$file = $request->file('receipt_upload');
$name = time() . $files->getClientOriginalName();
$files->move(public_path('uploads/receipt'), $name);
$receipt = "public/uploads/receipt/{$name}";
}
Please or to participate in this conversation.