V
V
viktorleg2017-01-27 03:12:22
MySQL
viktorleg, 2017-01-27 03:12:22

How to bind the choice of city to the selected country?

Greetings!
There is a delivery form, it has two fields: Country and City .
The mysql database has a list of cities that are offered for selection when entering letters in the City field .
How to make it so that only those cities that correspond to the selected country are offered?
Now, no matter which country I choose, all cities are offered, although there is a link to the country id in the mysql database.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Человек с Казахстана, 2017-01-27
@LenovoId

мне в голову только react.js пришёл
но это без mysql

T
ThunderCat, 2017-01-27
@ThunderCat Куратор тега MySQL

Как делается выборка? Или "я его поставил и запустил, оно не работает"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question