I got this error when i tried to make a crud program on Laravel
Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException
No message
my code :
public function update(Request $request){
DB::table('berita')->where('id_berita',$request->id)->update([
'judul' => $request->judul,
'isi_berita' => $request->isi,
]);
return redirect('/berita');
}
Help me to solve this T_T
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire