i have two table as like user and education
user table has refer the education id based on that it display course name.
but the problem is when I’m using the _form to add new user details it ask the education_id (course) instant of id i want to text field that should be filled by the user…
Education Table:
+--------------+
| id | course |
+----+---------+
| 1 | BE |
+----+---------+
| 2 | Dr |
+----+---------+
| 3 | Arts |
+----+---------+
| 4 | Diploma |
+--------------+
User table:
| id | fname | lname | mail | edu_id
---------------------------------------
| 1 | x | y | xxx | 4
| 2 | z | a | yyy | 2
i think its possible in yii…
thanks in advance