|
-
May 2nd, 2004, 02:15 PM
#1
Thread Starter
Frenzied Member
Drop Down
Hi,
I want to add the results or a sql query to a drop down menu. Easy right! well this is the hard part. When you have a selected a option. I want it to adjust a second drop down menu. I'll explain more
I'm making a online gallery!
I have a table for categories and another for sub categories
My first query will be listing all the categories. Once I have selected one and want it to list all the results from my second query which is all the sub categories with the category parent being the one selected.
Any ideas?
-
May 2nd, 2004, 02:21 PM
#2
Ex-Super Mod'rater
Best way would be to use a javascript that changes what is visible when you change the selection. wouldn't really be a php prob but you could use php if you submit the form everytime the user changes selection, which might be a fuss.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
May 2nd, 2004, 02:27 PM
#3
Frenzied Member
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|