lundi 20 juin 2016

Rendering HTML from database table to view blade issue

I am having a problem by rendering some html stuff from a database table. I have a function that is calling and returning some html content from databse table, when i use double curly braces it shows the content on page but as a plain text not rendered as html. After i try to use {!! !!} it does not show anything on page. i don't understand why and what's the solution in this case. My blade page contains the .blade extension as well.

Please advice.

$string = "<h1>Its H1 Tag</h1>;





via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire