brown2005 Posted June 5, 2006 Share Posted June 5, 2006 Hi,I have two tables;1. categories - categories_id, categories_name2. categories_sub - sub_id, sub_categories_id, sub_namewhat i want to do is have one select box that gets a list of categories from table 1 and then when you select a category in the first select box, the second select box automatically updates with the sub categories.any help please? Quote Link to comment https://forums.phpfreaks.com/topic/11223-select-boxes/ Share on other sites More sharing options...
Barand Posted June 5, 2006 Share Posted June 5, 2006 Use eitherjavascript - see baaSelect link in my sigorsee [a href=\"http://members.aol.com/barryaandrew/xmlhttp/article.html\" target=\"_blank\"]http://members.aol.com/barryaandrew/xmlhttp/article.html[/a] for AJAX method Quote Link to comment https://forums.phpfreaks.com/topic/11223-select-boxes/#findComment-42011 Share on other sites More sharing options...
poirot Posted June 5, 2006 Share Posted June 5, 2006 Barand, your pages look a bit "technical".And it'd be nice if you could give us a living demo :) Quote Link to comment https://forums.phpfreaks.com/topic/11223-select-boxes/#findComment-42026 Share on other sites More sharing options...
Barand Posted June 5, 2006 Share Posted June 5, 2006 Alas, I haven't got round to getting a hosted domain yet.And it is a technical article. Quote Link to comment https://forums.phpfreaks.com/topic/11223-select-boxes/#findComment-42029 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.