Answer the question
In order to leave comments, you need to log in
How to pass a link correctly?
The link field (string(2048)) is stored in the database.
In the view, I add a link to the a tag.
<?= Html::a(ссылка, $myObject->link, ['target'=>'_blank'])?>
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