Jump to content

Predefined Categories Table


Recommended Posts

Hi all,

 

I need to produce a table holding a list of categories, On my page, depending on the user_level they can choose x amount of categories. Can I ask whats the most efficient way of achieving this?

 

parent_categories (id, name)

secondary_categories (id, parent_id, name)

member_plan (member_id, member_categories)

 

The above is my theoretical idea of how it should look, what are your thoughts?

Link to comment
Share on other sites

Hi Ignace, No only 1 sub,

There will be 2 dropdowns...

 

[Primary Category] - [sub Category]

 

When both are selected another option below will appear such as

 

[Musician] - [Cover Band] <--- selected option

Primary Category - Sub Category <--- Second option now appears.

 

I just need advice on how to best store these selected categoris in a table? Hope this isnt too confusing!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.