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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to