Re: Re: [PHP] Re: Stripping HTML

From: Date: Fri, 27 Jul 2001 03:01:44 +0000
Subject: Re: Re: [PHP] Re: Stripping HTML
Groups: php.general 
Request: Send a blank email to php-general+get-59886@lists.php.net to get a copy of this message
Duhhhh. Why didn't I catch this from the docs?! Way to much coffee.... Thanks VERY much for your help. Sorry to be a bother. Tobe Johnson Johnson & Associates, Inc. http://www.johnsons.net Free web based email and web sites > -----Original Message ----- > From: 'Jon Yaggie' <dmsales@design-monster.com> > To: <php-general@lists.php.net> > Sent: Fri, 27 Jul 2001 13:40:45 +0700 > Subject: Re: [PHP] Re: Stripping HTML > >hmm i think there is a function specificlly for html. but i am not sure > >have you tried strip_tags() it will remove html and php tags from a string >. . . > > > > >Thank You, > >Jon Yaggie >www.design-monster.com > >And they were singing . . . > >'100 little bugs in the code >100 bugs in the code >fix one bug, compile it again >101 little bugs in the code > >101 little bugs in the code . . .' > >And it continued until they reached 0 > > >----- Original Message ----- >From: 'Tobe Johnson' <tobejohnson@johnsons.net> >To: <php-general@lists.php.net> >Sent: Friday, July 27, 2001 2:37 AM >Subject: [PHP] Re: Stripping HTML > > >> I am trying to check a data element ($data - which may be up to a few >paragraphs in length) which has html codes within the text. I need to stri >p >out all the html coding. Is there an fairly simple way to do this such as >using the < > signs as markers for checking and deleting the html data fro >m >the data element to be displayed? >> >> Tobe Johnson >> Johnson & Associates, Inc. >> http://www.johnsons.net >> Free web based email and web sites >> >> >> ---------------------------------------------------------------------- >> Brought to you by Johnson & Associates, Inc. >> http://www.johnsons.net >> Free web sites and web based email accounts >> >> >> -- >> 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 > > >-- >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 > > ---------------------------------------------------------------------- Brought to you by Johnson & Associates, Inc. http://www.johnsons.net Free web sites and web based email accounts

« previous php.general (#59886) next »