How to use str_replace in laravel
Which version of Laravel did you use?
For laravel 5.x, use this
{!! str_replace('_', ' ', $str) !!}
You can use php code in .blade.php file
try like this
<th> <?=str_replace('_', ' ', $str)?> </th>
Which version of Laravel did you use?
For laravel 5.x, use this
{!! str_replace('_', ' ', $str) !!}
You can use php code in .blade.php file
try like this
<th> <?=str_replace('_', ' ', $str)?> </th>