app/Http/Controllers/master_controller.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request)
    {
        $upda=class_model::find($request->id);
        $upda->Monthly_fee=$request->class_fee;
        $upda->update();
        return redirect('clst');
       }
public function update ( Request $ request ) { $ upda = class_model :: find ( $ request -> id ) ; $ upda -> Monthly_fee = $ request -> class_fee ; $ upda -> update ( ) ; return redirect ( 'clst' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .