Print Url In View Yii2

[Solved] Print Url In View Yii2 | Php Frameworks Yii - Code Explorer | yomemimo.com
Question : print url in view yii2

Answered by : aditya-pathak

$currentUrl = Yii::$app->request->url; //gives current URL

Source : | Last Update : Wed, 10 Jun 20

Answers related to print url in view yii2

Code Explorer Popular Question For Php Frameworks Yii