title: How to seprate data from database in php with if condition?
body: <p>In my database there is a row in which there are some data strings are stored with separation of comma(,). And i want to show data on website with if condition. If there are more than 2 data strings.</p>
  <pre><code>if($row['category'] &gt; 2){
    echo 'All Category';
  }else{
    echo '.$row['category'].';
  }
  </code></pre>