note 47039 deleted from function.strip-tags by danbrown

From: Date: Sun, 17 May 2009 16:04:38 +0000
Subject: note 47039 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154755@lists.php.net to get a copy of this message
Note Submitter: ashley at norris dot org dot au ---- leathargy at hotmail dot com wrote: "it seems we're all overlooking a few things: 1) if we replace "</ta</tableble>" by removing </table, we're not better off..." I beat this by using ($input contains the data): <?php while($input != strip_tags($input)) { $input = strip_tags($input); } ?> This iteratively strips tags until all tags have gone :)

« previous php.notes (#154755) next »