Hi
I’m new in yii. Can anyone please help me on how to get user name from model by it’s primary key?
Thanks in advance.
Hi
I’m new in yii. Can anyone please help me on how to get user name from model by it’s primary key?
Thanks in advance.
http://www.yiiframework.com/doc/api/1.1/CActiveRecord#findByPk-detail
If you’re new to Yii and you have a choice, learn Yii 2.