mardi 29 septembre 2015

How to display new lines where comma is there in address field in pdf generation using laravel 5?

I am trying to display address in new lines where comma is there like my adress as

#23, "Hari Prem Building", 1st Floor, Off CMH Road, Indiranagar, Bangalore, India

I just want to display my address as like

#23,
"Hari Prem Building",
1st Floor,
Off CMH Road,
Indiranagar,
Bangalore,India

For this i was trying the laravel syntax like {!! nl2br(e($inv->Address)) !!} but its not working for me ? Please help me out to solve this issue.. Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire