• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Related selectbox problem

New Here ,
May 04, 2014 May 04, 2014

Copy link to clipboard

Copied

Dear All,

I wanna make 2 selectbox which is contain CITY & Location. I have 2 table in my SQL :

     1 - CITIES 

          ID = city code

          City_name = Name of city

     2- Locations

          ID = Location code

          location_City =  CITIES Table / ID Field

          Location_name = Name of location on selected city

now I need to have 2 select box which the first is CITY name and second one contain Locations

     when i select City from CITY select box on second box just name of related location of selected city coming.

Please help me how can i do it

Thanks

Views

157

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation