fadlyshafa

Untitled

Aug 2nd, 2021
1,255
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function update(Request $request,$id){
  2.     \DB::table('tests')->where('id',$id)->update([
  3.         'keterangan'=>$request->inputan_keterangan
  4.     ]);
  5.  
  6.     return response()->json([
  7.         'status'=>true,
  8.         'message'=>'update success'
  9.     ]);
  10. }
RAW Paste Data