I have few field in my store method, so I wanted to use if() condition, but it's not working
here is code
if($request->has('link'))
{
$data['link']=$request->link;
}
if($request->has('content'))
{
$data['content']=$request->content;
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire