Re: clearing font tags

From: Date: Mon, 28 Jun 2004 12:32:32 +0000
Subject: Re: clearing font tags
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189149@lists.php.net to get a copy of this message
"Chris" <boomcrash@msn.com> wrote in message news:20040628121350.92750.qmail@pb1.pair.com... > Hi, > > Just wondering if there is a way in php to filter out FONT tags when > inserting > a record from a textarea so information appears with the standard defined > CSS style > on detail/result pages? > > Any help would be greatly appreciated Hi Chris, take a look at strip_tags(): http://de2.php.net/manual/en/function.strip-tags.php You can define which tags should NOT be stripped from the supplied string. Regards, Torsten Roehr

« previous php.general (#189149) next »