R
R
Rodion2018-02-27 18:28:31
PHP
Rodion, 2018-02-27 18:28:31

Problem with @section 'title'?

How to pass multiple values ​​with text?
Example:
Now I'm doing this .
@section('title', 'Автор - '.$user->full_name)
It doesn't work like this:

@section('title', 'Автор - '.$user->full_name 'Фото№' .$showPhoto->image->id)

The bottom line is that several values ​​\u200b\u200bwith text should be transferred to the title:
Something like this at the output
<title> Фотограф Фамилия Имя - Фото№ 956</title>

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