View Single Post
Old 11-07-2016, 02:26 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
It's simple but probably not simple in the way you were hoping. You need three database tables - a table to contain the items you want to tag, a table to contain the tags consisting of their tag names, and a relational table to relate the items to tags. Then you need a way of tagging the items, i.e. adding an entry into the relational table to connect an item to a tag. Then you need to run a database query to pull out the items that relate to the tag you want results for. Then some code to display those. So you're really talking about coding some sort of CMS.

Or you could just stick with Wordpress or some other off the shelf CMS.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote