Another one that i cant seem to get my head around. I i need to populate a secondary dropdown box based on what the user selected in the first one.


say for instance the first dropdown box contained: Dog, Cat & Rabbit.

If the user selects, Dog, i wish for a new set of options to become availible in the next dropdown box: Food, Bones, Toys etc. Or should the user select, Cat, a different set of values instead.


From doing some googling there seems to be a lot of hefty looking javascript to do the job, but it looks really long winded and i am clueless at it. Hopefully there is a fairly simple way to achieve this in PHP.

Thanks in advance.

That 2nd link was spot on. Many thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.