jeudi 24 mai 2018

Laravel:Failed to update data

Dear team please help me here is my function

 public function destroy($id)
{
    DB::table('ssrareqs')
        ->where('req_id',$id)
        ->update(['status_req'=>'reject']);
    return back();
}

and below my blade

<td>&nbsp; <a style="color: red" href="">Reject</a></td>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire