Yii Framework Forum: States and Cities - Yii Framework Forum

Jump to content

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

States and Cities Rate Topic: -----

#1 User is offline   Rome 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 05-May 10

Posted 02 November 2010 - 09:25 AM

Hi,


I have two tables(States and Cities).

States:
id,
state,

Cites:
id,
city,
state_id

Now, When the user Selects the State, the Cites Dropdown must be updated, with its respective selected state.

How do i maintain this in Yii......!!!

Thanks in advance.
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,359
  • Joined: 12-October 09
  • Location:Croatia

Posted 02 November 2010 - 09:29 AM

Check this wiki article - http://yiiframework....endent-dropdown
Find more about me.... btw. Do you know your WAN IP?
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