title: How to check one string has comma separated value using PHP
body: <p>I need one help.I need to check two type of string value using PHP. I am explaining one example below.</p>
  
  <p>suppose one variable</p>
  
  <pre><code>$sup_id='4' //(datatype-varchar)
  
  $sup_id='4,5,6' //(datatype-varchar)
  </code></pre>
  
  <p>in above example i have different value in same variable name.Here how can i check that the same variable has one value or different with comma(<code>,</code>) separated.Please help me. </p>