variables and drop down lists

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Faithe
Forum Commoner
Posts: 33
Joined: Tue Jul 12, 2005 3:26 pm
Location: WA

variables and drop down lists

Post by Faithe »

Okay, here's the problem.

I have a form with five drop down boxes.

What I need, however, are the values of each option to be dependent on two things (both pieces of information are already stored in the database).

I've tried quite a few ways, such as putting queries within the form, which I do think is part of the solution.
However, I get stuck trying to get any further than that.

I'd post code, but there really isn't anything to post. I need to start from scratch, on this one.

Can someone please point me in the right direction?
I do hope I made sense.

Thanks.
RhapX
Forum Commoner
Posts: 30
Joined: Mon Dec 05, 2005 5:24 pm
Location: Seattle, Washington

Post by RhapX »

Posting code or explaining a bit better would help. Be clear on what you're wanting to do and then elaborate on how you are wanting to do it.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Please search the forums for the term chained select. (Do not forget the choose "Search for all terms")
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Faithe
Forum Commoner
Posts: 33
Joined: Tue Jul 12, 2005 3:26 pm
Location: WA

Post by Faithe »

I actually figured it out. :]
Thank you both very much, though.
Post Reply