Could someone please steer me in the right direction.
I have a product line. Lets say:
productname, style, qty, colors, size
Now let's say that when inputting this data into the fields we know that we are going to type in data into the productname, style, and qty. So those columns I don't have a problem with.
I have a problem with colors, and size.
My problem is this, I know that I can have colors entered in a SET.,,,,, but not all colors are available to all products... so a SET does not work for colors. So I thought about it, and came up with just typing in the colors into a varchar(100), for example:
Green,Blue,Yellow,Pink <----- would be entered for a certain productname..... but,
the next product may have:
Orange,Black,White,Brown
Now, is this the way you folks would handle this?
And then what would I do or use to break up the colors to appear on a PHP page on a drop down menu since it has been entered in a Varchar(100)?
Is there not a way to store this info in an array?
or I'm I going about it the wrong way?
I've thought about putting the colors in another table?
But that just confuses the hell out of me more. LOL
Any hints on my problem would be great!
Should I use explode() ?
Thank you,
Spanito