title: How to retrieve exact string matching of records using mysql query?
body: <p>This is my table.</p>
  
  <pre><code>create table t (name varchar(100));
  
  insert into t values ('35,12');
  insert into t values ('35');
  insert into t values ('35,56');
  insert into t values ('46,56');
  insert into t values ('23,12'); 
  </code></pre>
  
  <p>If i'm search the records 35,56 it returns exact matching record but i want to retrieve 35 and 56 fall on all records. I'm passing value through in php variable like $test='35,56'.</p>
  
  <p>I want to retrieve the output is:</p>
  
  <pre><code>35,12
  35
  35,56
  46,56
  </code></pre>
  
  <p>Any help would be greatly appreciated? </p>
  
  <p>Thanks. </p>