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>... Quote Link to comment 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. Quote Link to comment 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); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.