Created
December 18, 2017 06:27
-
-
Save sharazghouri/2c23394a96e08cc85562e894f774be96 to your computer and use it in GitHub Desktop.
removing P tag form text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$str= '<p>hello hello hello heloo </p>'; | |
echo sstr_replace( array( '<p>', '</p>'),'',$str); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment