lundi 7 novembre 2016

How to use two `with` in Laravel?

I try to show two flash messages in Laravel using with:

return redirect('cabinet/result')->with('user', $client->unique_code)->with('fio', $client->name.' '.$client->secondname. ' '.$client->patronymic);

Then I display this as:

  

It shows me nothing



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire