0
I am programming using the Laravel framework and normally to use PHP within HTML use double keys
{{ $variavel }}
When I should interpret the HTML inside this variable I use
{!!$variavel!!}
I didn’t understand why from the exclamation points, I couldn’t find the documentation for this.
The problem is I wanted the job substr()
in the variable, and with that if you have the exclamations or keys it does not work, and if you take it gets the html tags that are in the string.
I don’t understand what you mean by substr. What is the expected result? what are you going through in this variable?
– gmsantos