I am busy getting to grips with Yii and AR and MVC so i will probably have a lot of questions, you don't need to give me an exact answer, a pointer to a tutorial or previous, related topic will also be appreciated.
My current problem is this:
I would like the table produced by the admin view to show the name value from the related table rather than simply the id stored in the main table.
example:
Main table contains:
Client Name | Client Type
Bobby Robert| 1
Client_Type Table contains:
1 | Happy
2 | Angry
3 | Stupid
etc
Kindly
My current problem is this:
I would like the table produced by the admin view to show the name value from the related table rather than simply the id stored in the main table.
example:
Main table contains:
Client Name | Client Type
Bobby Robert| 1
Client_Type Table contains:
1 | Happy
2 | Angry
3 | Stupid
etc
Kindly