Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6049387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:34:17+00:00 2026-05-23T07:34:17+00:00

I have a category table like this: I can list categories as list and

  • 0

I have a category table like this:

enter image description here

I can list categories as list and subcategories as dropdown list but My designer send me a design that categories have subcategories with the same name:

enter image description here

How can I manage this type of subcategories?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:34:18+00:00Added an answer on May 23, 2026 at 7:34 am

    Sounds to me a “design” issue rather than a database issue.

    You can add a dash symbol before the subcategories names in the dropdown, so the options values would be:

    Category 1
      -Subcategory 1
      -Subcategory 2
    Category 2
      -Subcategory 1
      -Subcategory 2
    

    My appending ” -” before the subcategory’s title, you are creating levels in the dropdown, which the user can visually see, and recognize where each subcategory belong to.

    It’s not a perfect solution, but it’s sure easy to implement. If you’re willing to spend time on it, try research jquery plugins that have multi level select boxes support, such as http://php4bd.wordpress.com/2007/07/15/javascript-controlled-dependent-or-cascading-select-list/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Category class which looks like this: @Entity @Table(name = categories) public
I have a table set up like this Project Category Date Hours Proj1 test
I have a MySQL table like id | text | category | active I
Lets suppose that I have a Category table with a column that holds the
I have a table of userdata that includes user ID and category IDs. I
If I have a table which looked something like (`id`, `category`, `content`, `post_time`) And
I have some hierarchical data that I need display as a table, can I
I have a table that defines the possible categories in my website - fields
This might seem like a duplicate question, but I can't find any information on
I have three tables Category, Movies and RelCatMov Category-table categoryid, categoryName 1 thriller 2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.