Jump to content

Creating a tagging systems


heavyEddie

Recommended Posts

For a site I'm working on I need to create a tagging system.  As far as I can see there is two approaches...

 

Approach 1 would be to to have a comma delimited field associated with each record that folks place the tags when they submit.  This will require parsing for every search but would keep the tables themselves pretty simple.

 

Approach 2 would be to create a separate table and literally place and have a tag word for each record.  This could create a whopper of a table, but would probably be less work and possibly faster.

 

So, which would be faster?  Any advise?  Anything to watch for?

Link to comment
https://forums.phpfreaks.com/topic/53937-creating-a-tagging-systems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.