How to replace HTML element contents using PHP ?
Started on: 26 August 13
Hi,
I am showing html content in my blog page. I would like to remove particular element using their class name using PHP.
My HTML Content
xyz
xyz
xyz
I want to remove the element which contain class=hidden_content, and i want the below result
xyz
xyz
Looking forward for a quick solution
I am showing html content in my blog page. I would like to remove particular element using their class name using PHP.
My HTML Content
xyz
xyz
xyz
I want to remove the element which contain class=hidden_content, and i want the below result
xyz
xyz
Looking forward for a quick solution
This challenge is listed under
Open Source
and Development & Implementations
Community
Related Posts:
Please login to reply this post
Important:
- We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
- To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
- Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.