mardi 29 septembre 2015

Laravel5 .How to store a variable in the database and then display it with its value on the page

I have a variable $title that I want to save in the database. I need to display it with its value on the page using Laravel5.

my code is:

{!! $article->title !!}

that gives me the following data on the page : $title , instead I want to see the value of the variable.

I will appreciate any help.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire