I am new to php.i have to combo boxes namely combo1 and combo2.
The values of combo2 has to be populated dynamically from database based on the value selected in combo1.
I want to know how to achieve the above scenario.
populating combo boxes from database
Moderator: General Moderators
- harrisonad
- Forum Contributor
- Posts: 288
- Joined: Fri Oct 15, 2004 4:58 am
- Location: Philippines
- Contact:
as what he said, php is server side. But, if you have to change the contents of your combobox 2 instantly, use javascript.
look at this
viewtopic.php?t=29084
look at this
viewtopic.php?t=29084