I'm stuck in a problem.. I want to use two combo let Country and City, where City list depends on the Country combo, How can I don do it with HTML and PHP only?

Thanks.

Recommended Answers

All 4 Replies

If you want to change the cities when the country changes without reloading the page, then you need some javascript too.

No , I dont want to use ant JavaScript or Ajax code there, Only PHP and HTML.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.