0

Hi dear
I want to create a dynamic page where i want select country name in first drop down menu and then get its related city list in second drop down list
how this will work in php

Edited by superior7867: spalling

3
Contributors
4
Replies
21
Views
3 Years
Discussion Span
Last Post by Bachu
0

If you only want to do this using PHP, you would have to generate a post back so that you can get the value of the first drop down so that you can populate the second drop down.

If you incorporate client side technologies including javascript, jQuery and AJAX, you can make a call back to the server by sending info about th value of the first drop down so you can populate the second without the need to refresh the page.

This is just one option... There are others, plu-ins out there, etc...

0

dear
Please explain with coding so that i can better known

Edited by superior7867: xx

0

I don't have ready made code to give you. I was simply providing guidance.

It would be better if you provide your relevant code so that members here can help you with errors or problems.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.