strip_tags

From: Date: Tue, 12 Aug 2008 18:47:54 +0000
Subject: strip_tags
Groups: php.general 
Request: Send a blank email to php-general+get-277992@lists.php.net to get a copy of this message
Hi all. If you are sanitizing _POST input for a database by escaping (via mysql_*), is there a reason to use strip_tags()? If so, why and could you provide an example? Thanks, ~Philip "innerHTML is a string. The DOM is not a string, it's a hierarchal object structure. Shoving a string into an object is impure and similar to wrapping a spaghetti noodle around an orange and calling it lunch."

« previous php.general (#277992) next »