Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strip html tag with id

Status
Not open for further replies.

hunt00

Technical User
Mar 6, 2005
79
0
0
US
By php, how to strip a html tag which has an id relates to it?

For example,
<div id="test" class="test"><p>Here is the content</p></div>

The end results will only have:
<p>Here is the content</p>

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top