Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

render html data from db laravel

This works fine for Laravel 4

{{html_entity_decode($post->body)}}
For Laravel 5 you may need to use this instead

{!!html_entity_decode($post->body)!!}
 
PREVIOUS NEXT
Tagged: #render #html #data #db #laravel
ADD COMMENT
Topic
Name
2+3 =