Re: get rid of the HTML tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try strip_tags()

http://www.phpbuilder.com/manual/function.strip-tags.php


> I have this string:
>
> $my_string = "<b>hello world</b><a href='teste.php'>this is a test for a
> link with a image <img src='test.jpg'></a>
>
> Is there any function that retrieves only the string without the html
> tags?!

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux