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? 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 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 :) 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. Link to comment https://forums.phpfreaks.com/topic/11223-select-boxes/#findComment-42029 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.