Answer the question
In order to leave comments, you need to log in
How to set title from two values in YII2?
Tried several ways:
$Family=volonterFamily;
$Name=volonterName;
$NameFamily=(string)$Name+(string)$Family;
$this->title = $model->$NameFamily;
error //ответ на выдаче
$Family=volonterFamily;
$Name=volonterName;
$NameFamily=$Name+$Family;
$this->title = $model->$NameFamily;
error //ответ на выдаче
//volonterFamily;
//volonterName;
$this->title = $model->volonterFamily & volonterName;
P"@ @[email protected] A //ответ на выдаче
//volonterFamily;
//volonterName;
$this->title = $model->volonterFamily+volonterName;
0 //ответ на выдаче
//volonterFamily;
//volonterName;
$this->title = $model->volonterFamily and volonterName;
volonterFamily //ответ на выдаче
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question