title: How to select mysqli for tags search using php?
body: <p>How to select mysqli for tags search using php ?</p>
  
  <p>I have table : test like this</p>
  
  <pre><code> ___________________________________________
  |_id_|_______name_______|________tag________|
  | 1  |        dog       |  animal,pet,dog   |
  | 2  |       donuts     |    food,donuts    |
  | 3  |       BMW        |         car       |
  | 4  |     football     |       sport       |
  | 5  |     ferrari      |    car,supercar   |
  </code></pre>
  
  <p>and this is mysqli php code for select</p>
  
  <pre><code>$query = "SELECT * FROM test WHERE tag = '$_GET[tag]' order by id desc";
  </code></pre>
  
  <p>Then i test my code by this url</p>
  
  <pre><code>www.example.com/search_tag.php?tag=car
  </code></pre>
  
  <p>But it will show only row id <code>3</code> , how to select for show row id <code>3</code> and <code>5</code> ?</p>