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? Quote Link to comment 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. Quote Link to comment 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.