Help - Dynamic Pop-down lists
Hello,
I have a task to do using PHP, Javascript, HTML and Oracle.
I have two pop-down lists, for the first list the value comes from Oracle database using PHP. Now depending on the value selected in the first list, the second list will have more information about that particular value. For e.g. If my first list has 'USA','INDIA',,'CHINA' as the choices and a user selects 'USA' the second list will give states of USA , if a user selects 'INDIA' the second list will give states of INDIA.
The states will be stored in Oracle. Can someone please tell me how to do this?
Only using Javascript I knw, but thn when the value comes from database in PHP how can I do this?
Any help is highly appreciated.
Thanks,
|