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.
if($row['category'] > 2){
echo 'All Category';
}else{
echo '.$row['category'].';
}