Yii2 Url Html Format
Quick Question: i use following code in my View Script to generate a link steam_id_32.')',['steam/','steamid'=>$player['player']->stea
Solution 1:
This behavior is by design. You can't really change this behavior, but you could use a workaround.
The code below first creates the url and then decodes it. Then create the link (<a>
) with the previous created url.
$url = urldecode(Url::toRoute(['steam/', 'steamid' => 'aa:bb:cc']));
echo Html::a('title', $url);
Post a Comment for "Yii2 Url Html Format"