I get Syntax error in php yii, concatenating strings
echo "<h1>Welcome </h1>" . Yii::app->user->name;
I get Syntax error in php yii, concatenating strings
echo "<h1>Welcome </h1>" . Yii::app->user->name;
It should be Yii::app()->user->name;