Re: Re: stripping html tags

From: Date: Sun, 05 Jun 2005 23:10:35 +0000
Subject: Re: Re: stripping html tags
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-216445@lists.php.net to get a copy of this message
On 6/6/05, Brian V Bonini <b-bonini@cox.net> wrote: > On Sun, 2005-06-05 at 18:13, Dotan Cohen wrote: > > On 6/6/05, Brian V Bonini <b-bonini@cox.net> wrote: > > > On Sun, 2005-06-05 at 16:05, Dotan Cohen wrote: > > > > > > > I don't want to strip out all the tags, just certain ones. But the > > > > problem turned out not to be in this peice of code- the script simply > > > > wasn't parsing. I started another thread with that problem after > > > > failing to fix it on my own. > > > > > > > > > The prototype says you cam specify exceptions to the function. > > > I was looking to remove certain tags, not leave certain tags, as does > > strip_tags(). But thank you, I do appreciate the input. > > It's the same thing... Just think of it terms of what you don't want to > remove rather then what you do want to remove. The result is the same. > > > -- > > s/:-[(/]/:-)/g > > > Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu > ====================================================================== > gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC > Key Info: http://gfx-design.com/keys > Linux Registered User #339825 at http://counter.li.org > > IF you know every single tag that exists! And being how I only wanted to remove four of them, the list of 'what to remove' is so much more compact than the 'leave those' list! Dotan http://lyricslist.com/lyrics/pages/artist_albums.php/11/A-Ha A Ha Lyrics

« previous php.general (#216445) next »