Why is my CRUD application's update function not working in Laravel?
I encountered difficulty with the update function. Even after the data has been updated, it does not change. Is there something wrong with my code? Controller public function update(Request $request, Mahasiswa $mahasiswa) { $validatedata = $request->validate([ 'nim' => 'required|size:8|unique:mahasiswas,nim,'.$mahasiswa->id, 'Nama'…