<?php $string4="Featuring"; $pos="Featuring"; while(($pos = strpos($string, ',',$pos)) !== FALSE){ $count++; $pos++; // This ends } echo $count;
You have javascript disabled. You will not be able to edit any code.