I have a problem
Database Name: prj
Table 1: province
Field Name: pro_name
Field Data: NWFP
Punjab
Sindh
Table2: districts_nwfp
Field Name dis_names
Field Data: Bannu
Kohat
Karak
I want to create a php page with two drop down menus.
One show the Province name
other show the districts name
When I select the NWFP from the menu then in the next menu it would automatically retrieve the districts_nwfp data items of field “dis_names”, like name "Bannu", "Kohat", "Karak".
please help me in this regard.
thanks
Problem in php?
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
Re: Problem in php?
Loading data in a combobox from a db with local filtering is already a topic discussing this sort of problem. You may find your answer by looking there and contributing to that discussion.