Answer the question
In order to leave comments, you need to log in
Yii works short start tag and doesn't work full in Html::a?
Good afternoon. Don't tell me I just started learning PHP in Yii when displaying a link, this is how it works
<li><?= Html::a( 'Главная' , '/web/' ) ?></li>
<li><?php Html::a( 'Главная' , '/web/' ); ?></li>
<li><?php Html::a( 'Главная' , '/web/' ) ?></li>
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