DIFFERENT BETWEEN {{ }} and {!! !!} in LARAVEL
- {{ }}
$first = "<b>Hasib Kamal</b>";
{{ $first }}
Output :
<b>Hasib Kamal</b>
- {!! !!}
$first = "<b>Hasib Kamal</b>";
{!! $first !!} Output : Hasib Kamal
$first = "<b>Hasib Kamal</b>";
{{ $first }}
Output :
<b>Hasib Kamal</b>
$first = "<b>Hasib Kamal</b>";
{!! $first !!} Output : Hasib Kamal
Comments
Post a Comment