<?php $colors = array('black','yellow','red'); $color = 'reddish'; $string = implode(' ', $colors); echo substr_count($string, $color);
You have javascript disabled. You will not be able to edit any code.