laravel update archive to book by id with another table code example
Example: update query in laravel eloquent
$data = DB::table('cart')
->where('crt_id', $id)
->update(['crt_status' =>'0']);
$data = DB::table('cart')
->where('crt_id', $id)
->update(['crt_status' =>'0']);