title: Explode and search-> mySql
body: <p>I have a tag string saved as <code>$value</code> , </p>
  
  <p><code>$value</code> is equal to <code>'my,name,is'</code> . </p>
  
  <p>I now want to separate <code>$value</code> and search every row that contains (eg: 'name') in my db... </p>
  
  <p>I've tried doing this -> </p>
  
  <pre><code>$value = explode(',' , $value);
  
  
  $query = "SELECT * FROM table WHERE words LIKE '%$value%'    ";
  </code></pre>
  
  <p>But this doesnt seem to work.. </p>
  
  <p>Please help :)<br>
  Thanks a lot, </p>
  
  <p>I will appreciate any answers... </p>