vendredi 13 janvier 2017

Laravel line break in message

How do I do a line break in a message.

I tried following

$request->session()->flash('message', "first line \r\n second line");
$request->session()->flash('message', "first line <br> second line");

but they did not work, how do I accomplish this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire