Jump to content

Archived

This topic is now archived and is closed to further replies.

cfemocha

Chain select using PHP

Recommended Posts

I have 2 select boxes and have them dynamically populated based on the selectbox selections.

example:
if i select 'fruit' then the 2nd select boxes will be populated with a list of fruits,
if i select 'vegetable' then the 2nd select boxes will be populated with a list of vegetables.

these values are coming from a database table and not a predefined array. Can this be done and how?

any help is appreciated.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.