I was thinking of making tag system so it can replace the category system.
Category system is kind easy to make because you can define the level and what is under that level
but when I thought about the tag system, I can't think of an good answer.
The only one I have thought of is a db structure that can lead the program to find the tag
Note: both ids are keys...
So what does you guys think? is this the perfect way to make tag system or is there better?
Category system is kind easy to make because you can define the level and what is under that level
but when I thought about the tag system, I can't think of an good answer.
The only one I have thought of is a db structure that can lead the program to find the tag
| Code: |
|
item_id *| tag_id * 1 | 1 1 | 2 1 | 3 2 | 2 |
Note: both ids are keys...
So what does you guys think? is this the perfect way to make tag system or is there better?
