From: "Toke Herkild" <[EMAIL PROTECTED]>

> What if I want to replace all html codes from a string ?
> I've tried using :
> 
> $myString = preg_replace('/<*>/, '', $myString);
> but that deletes all string... ( or everything from first '<' ) ...
> 
> Toke Herkild...
> 
> 



Try striptags()

http://php.net/striptags


Cheers

Simon Garner


-- 
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