Answers for "print url in view yii2"

PHP
1

print url in view yii2

$currentUrl = Yii::$app->request->url; //gives current URL
Posted by: Guest on June-03-2020

Browse Popular Code Answers by Language