How do i store categories and subcategories in database

Hello there i am making a website related to jobs and i am facing a query ie. I have inserted 2 of the dropdowns it the registration page 1.categories and 2.subcategories for example if a user clicks for the job related to android so the jobs related to android will automatic appeared in subcategories dropdown and i have to store both the values for categories and subcategories in mysql database but i am not getting any of the perfect idea about it after a long research so please help me or provide me little bit hint to do this.

here you go – Categories and Subcategories

Hey there first of database store categories and after store Subcategories Example categories is Business and include under Subcategories is small Business they store on database step by step indexing all teams.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.