bharanikumarphp Posted July 14, 2008 Share Posted July 14, 2008 Dear How to remove the two immediate <p> tags in article content, example ganeshsrinivasan<p></p>kumarvasanth here i want to remove the <p></p>... Link to comment https://forums.phpfreaks.com/topic/114690-remove-imediate/ Share on other sites More sharing options...
effigy Posted July 14, 2008 Share Posted July 14, 2008 Do you mean intermediate? If so, what makes this the case? If no special conditions are needed, see str_replace. Link to comment https://forums.phpfreaks.com/topic/114690-remove-imediate/#findComment-589829 Share on other sites More sharing options...
dearnechu Posted July 17, 2008 Share Posted July 17, 2008 try to use with following code $str = "ganeshsrinivasan<p></p>kumarvasanth"; $str = str_replace("<p></p>","",$str); Link to comment https://forums.phpfreaks.com/topic/114690-remove-imediate/#findComment-592268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.