mercredi 10 octobre 2018

Problem when displaying article in blade, solutions?

Good afternoon,

I created a cms with laravel, to show the content of the blog I use

{!!$post->content!!}

So far everything is fine, but my post is about programming and sometimes I need to show a function like for example

enter image description here

the problem comes when wanting to show this function as simple information of my article, and it is that blade obviously tries to execute that function because it is inside {!! !!} ...

Can someone come up with a solution to this problem? Thank you...



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire