Yii Framework Forum: Relation problem - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Relation problem relations to retrieve name from another table Rate Topic: -----

#1 User is offline   equatorlounge 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 03-October 11
  • Location:rondebosch, cape town

Posted 25 October 2011 - 06:24 PM

i have a relation problem related to 3 tables as follows:

tour_operator_agent
---------------------
id
user_id
other details

user
---------------------
id
person_id
username
password

person
---------------------
id
name
surname

in the tour operator agent form, i need to display the drop down for user_id as the name and surname from person

anyone can help me out here !?
thanks to revert
0

#2 User is offline   equatorlounge 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 03-October 11
  • Location:rondebosch, cape town

Posted 25 October 2011 - 06:27 PM

I TRIED to use help from this link but in vain :(
http://www.yiiframew...en/database.arr

View Postequatorlounge, on 25 October 2011 - 06:24 PM, said:

i have a relation problem related to 3 tables as follows:

tour_operator_agent
---------------------
id
user_id
other details

user
---------------------
id
person_id
username
password

person
---------------------
id
name
surname

in the tour operator agent form, i need to display the drop down for user_id as the name and surname from person

anyone can help me out here !?
thanks to revert

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users