Alright... first of all - I have searched... and none of the answers really explain anything that does me any good....
So I'm posting this in the newbies forum, because well - I'm far from being experienced with php... and I don't know any javascript minus copy and pasting. lol.
I'm creating an upload form for myself so that I can easily add my graphics into cateogories... some of the categories have sub-categories... but not all of them do.
So, what I'm wanting to do is have 1 drop down box for the cats... if the cat I select has a subcat, I want the second drop down to be populated with the subcats for that category.
I've got two mysql tables - icon_categories and icon_subcats. I can get the categories dropdown to populate, but then how would I go about getting the second one to populate only where the cat_id from icon_categories (the first box) = the cat_id from icon_subcats.... ?
I know how to preform the join and all of that... I just can't seem to figure out what I need to do to get which category was selected in order to populate the second box....
and if there is any way I can do this without integrating javascript, I would be most appreciative....
But I really need somewhat of a thorough explination, as I'm trying to understand how it all works at the same time.
Thanks again,
-Erica