I want to create a dynamic drop down list box in which

Locality is loaded on page load
then
Depending upon selected Locality...
Sub locality , Ward will be Loaded...
..
I done it by using form with 'get' method..
but
I want to done it using post method..
so that
Selected values are not shown in the URL..

Database Dump is Attached with it....

and

Demo can be seen here

http://www.plus2net.com/php_tutorial/dd.php

from which i taken Help...


Thanks...

Recommended Answers

All 2 Replies

you are using database here therefore you need to select first the table_column of the database that has the value that you are going to use for the list.
it will give you an array result then
call it in a function so that everytime you add or remove a value on your database it will automatically updated.

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.