![]() |
Remove HTML tags from a string - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Remove HTML tags from a string (/showthread.php?tid=2779) |
Remove HTML tags from a string - El Forum - 08-23-2007 [eluser]webdude[/eluser] I would like to remove HTML tags from my db string. Thanks Remove HTML tags from a string - El Forum - 08-23-2007 [eluser]webdude[/eluser] Sorted :-) http://uk2.php.net/strip_tags Remove HTML tags from a string - El Forum - 08-23-2007 [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). Remove HTML tags from a string - El Forum - 08-23-2007 [eluser]webdude[/eluser] Thanks for that :-) |