Monthly Archives: November 2016

Useful Functions in PHP

substr_count

You can use this function to count the total number of a substring within a string.

PHP docs for this function:
http://php.net/manual/en/function.substr-count.php

Advertisements