Removing HTML Tags
Moderator: General Moderators
Removing HTML Tags
I am pulling some records out of a database to dynamically fill the <title> tag in the page. The record has HTML tags in it that should not show up. Is there a way to remove all HTML tags in PHP?
- trukfixer
- Forum Contributor
- Posts: 174
- Joined: Fri May 21, 2004 3:14 pm
- Location: Miami, Florida, USA
http://us2.php.net/manual/en/function.strip-tags.php
helps to RTFM .. outta bookmark php.net . its where all of us go too
and it has search capability for functions, or search whole site .. google is your friend, 
helps to RTFM .. outta bookmark php.net . its where all of us go too
feyd wrote a smarter strip_tags() function, i believe it's in the useful posts topic
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: