How to create a back link using the Yii Framework

In the view that you wish to use add the following code for the back link.

CHtml::link('Back',Yii::app()->request->urlReferrer);

Image Credits: Photo by Isis França on Unsplash.

More Similar Posts

No results found.

Menu