Re: Re: Stripping HTML

From: Date: Fri, 27 Jul 2001 06:40:45 +0000
Subject: Re: Re: Stripping HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59882@lists.php.net to get a copy of this message
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 strip 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 from 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

« previous php.general (#59882) next »