strip_tags

From: Date: Sat, 20 Jul 2013 16:25:14 +0000
Subject: strip_tags
Groups: php.general 
Request: Send a blank email to php-general+get-321659@lists.php.net to get a copy of this message
Hi gang: I've been using $str = strip_tags($str, $allowable) as it is described via the manuals: http://php.net/manual/en/function.strip-tags.php The problem I've found is the tags "<br>" and "<br />" are not stripped. How do you strip all tags, but leave some tags (such as <b>, <i>, and <u> -- I know these are depreciated, but my client wants them anyway). Cheers, tedd _____________________ tedd@sperling.com http://sperling.com

« previous php.general (#321659) next »