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>



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2LqRCXr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire