I am using Laravel 5.6 and have created a basic form. One of my fields which is a textarea, expects some html code input. For example, I expect the user to enter
<img alt="" src="{club_logo_url}" style="float:right;width:100px;padding-right:10px;" />
where {club_logo_url} is a place holder which I look for in the backend.
I use Input::get('ticket_template') to get the posted value in the back end and this is what I get
<img alt="" src="%7Bclub_logo_url%7D" style="float:right;width:100px;padding-right:10px;" />
So how do I get the exact value as posted by the user without embedding the {} characters? thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire