A
A
ato7852019-12-11 09:24:49
Laravel
ato785, 2019-12-11 09:24:49

How to add news title to title laravel?

Good afternoon, please tell me how to display the title of the news
in the content of the tag in the template output like this @section('pageTitle', '$item->Title')
I output the title like this: {{ $item->title }}
but if add $item->title inside the section, nothing comes out @section('pageTitle', '$item->{{ $item->title }}') Tell me
how to display it correctly

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question