title: Programming a Tags Feature in PHP
body: <p>How would I go about writing up a basic tags feature? (similar to the one on this site)</p>
  
  <p>I'm struggling coming up with good logic with little redundancy and would like a more experienced programmer's take on this.</p>
  
  <p>The site I have is fully developed as of right now and has a search feature (searches through titles) - I'm just looking to expand on this and allow the search to sift through tags as well.</p>
  
  <p>Edit:</p>
  
  <p>I was considering adding a row on to my main table called "tags". Then separating them by spaces.</p>
  
  <p>But I have also thought about create a new table and using the same id's from my main table, creating tags in this manner.</p>