View Single Post
Old 02-15-2004, 07:21 AM  
nibbi
Confirmed User
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 104
You can use substr_count() to count the number of times a given string is found within another.

http://us4.php.net/manual/en/function.substr-count.php
nibbi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote