954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Dynamic List box in PHP

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...

Attachments mcy_survey.txt (3.37KB)
garyrichard
Newbie Poster
20 posts since Oct 2011
Reputation Points: 10
Solved Threads: 1
 
rpv_sen
Junior Poster
178 posts since Mar 2011
Reputation Points: 18
Solved Threads: 16
 

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.

decade
Junior Poster in Training
62 posts since Jun 2011
Reputation Points: 12
Solved Threads: 14
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: