This is the code where we have used -> and => .
But I always get confused, while writing code at that time which one to use and where.
So seeking its logic to easily remember it.
$quan= $request->all();
ChaiExl::create(['date'=>date('Y-m-d',strtotime($quan['dt'])),'quantity'=>$quan['quan']]);
return view('edit',['row'=>$row]);