<div id="thumb"> <div id="thumbbackground"> <a href="../screen-printing/map.php"> <div id="image" class="a"><img src="../screen-printing/thumbnails/map.jpg" width="170" height="170"/></div> </a> <div id="prelo1" class="p"></div> </div> <div id="thumbname"><p class="desc8">Map</p></div> </div>
$text = '<div id="thumb"><img /></div><div id="thumb"><img /></div>'; $countMe = 'id="thumb"'; $numOccurances = substr_count($text, $countMe);
$numOccurances
countMe .=
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)