display user details using id

hai all,

i have two tables called courses and students…in course table there are so many coloum for subject…

i want to display the name of students instead id…how can i do that…

I am new to yii…

Welcome to the Yii forum.

The following post should help you to resolve your problem: http://www.yiiframework.com/doc/guide/1.1/en/database.arr