jbrill Posted July 9, 2007 Author Share Posted July 9, 2007 k one last question..this: $sel->addSelect('category', 'category', 'cat', 'category','',1,'--Category--'); $sel->addSelect('subcat', 'subcategory', 'subc', 'subcat','cat',1,'--Sub_category--'); a) is only putting in the subcategory into the database b) its putting in the subcat ID not the name of the item whats the problem? Link to comment https://forums.phpfreaks.com/topic/59038-help-auto-populating-multiple-drop-downs/page/2/#findComment-293748 Share on other sites More sharing options...
Barand Posted July 9, 2007 Share Posted July 9, 2007 That's usually what is required in a normalised db. If you know the subcat id, then, by joining table you can get the category. Id's are usually stored and not the name. Link to comment https://forums.phpfreaks.com/topic/59038-help-auto-populating-multiple-drop-downs/page/2/#findComment-293775 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.