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
Answered by : aditya-pathak
$currentUrl = Yii::$app->request->url; //gives current URL
Source : | Last Update : Wed, 10 Jun 20