Solved

Best way to display a sub sub menu

Posted on 2012-03-30
2
269 Views
Last Modified: 2012-03-31
I have a product database working fine.

Products are assigned a main category and a sub category.

What I need to add are product options so the 'rosary beads' sub category will have colour options...red, black, white etc...

I'm wondering what is the best way to do this? A separate 'options' table with the id from the product table?

So the table would be something like...

id   option
13  red
13  black
13  white
14  large
14  medium
14  small
Screen-shot-2012-03-30-at-18.13..png
0
Comment
Question by:BrighteyesDesign
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
johanntagle earned 500 total points
ID: 37789518
Yes, that would be the most straightforward way to do it.
0
 

Author Comment

by:BrighteyesDesign
ID: 37790204
Cheers John, I'll crack on with that then, just wanted to make sure!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question