Re: Stripping HTML

From: Date: Mon, 21 Aug 2000 19:27:58 +0000
Subject: Re: Stripping HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12794@lists.php.net to get a copy of this message
strip_tags() should do it. -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ On Mon, 21 Aug 2000, Chris Murley wrote: > Date: Mon, 21 Aug 2000 14:15:08 -0500 (CDT) > From: Chris Murley <murley@appindex.net> > To: php-general@lists.php.net > Subject: [PHP] Stripping HTML > > > > Hello, does anybody have a function that strips HTML from a string > > > ie > > > $message = "<b> hellow wolrd> > > > would come out as > > $message = " hellow wolrd" > > ?? > > or that would make > > $message = "<a href=idex.html>Click here</a>"; > > would be > > $message = "Click here"; > > > Thanks for any help! > > > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#12794) next »