How To Get All Occurrences of a string php between delimiters

Using the following function we get all occurences from a string which are between two delimiters. As you can see all paramters you have to pass is the string where the function will serach, the start delimiter and the final delimiter. Get all occurences of a string php public function getContents($str, $startDelimiter, $endDelimiter) { $contents… Continue reading How To Get All Occurrences of a string php between delimiters

How To Use DAY, MONTH, YEAR Functions In Doctrine Symfony

If you want to use these functions in symfony dotrine you need to know that these functions does not come when you install doctrine. So you will have to install an extension for doctrine in order to know what should do when you insert the code in your repository. To install the extension go to… Continue reading How To Use DAY, MONTH, YEAR Functions In Doctrine Symfony