Welcome Guest, Not a member yet? Register   Sign In
Remove HTML tags from a string
#1

[eluser]webdude[/eluser]
I would like to remove HTML tags from my db string.

Thanks
#2

[eluser]webdude[/eluser]
Sorted :-)

http://uk2.php.net/strip_tags
#3

[eluser]Derek Allard[/eluser]
If you're using the validation class, you can also add strip_tags as a validation rule (as with most PHP functions).
#4

[eluser]webdude[/eluser]
Thanks for that :-)




Theme © iAndrew 2016 - Forum software by © MyBB