note 3189 modified in function.strip-tags by philip

From: Date: Fri, 21 Sep 2001 15:26:32 +0000
Subject: note 3189 modified in function.strip-tags by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-18144@lists.php.net to get a copy of this message
[ed note: this syntax works too, mention in docs? -philip] Here's the syntax for the allowable_tags aregument : : <br> $string = strip_tags($string,'<a>,<i>'); <br> This will strip out all HTML tags from $string except <a> and <i>.. http://www.php.net/manual/en/function.strip-tags.php

« previous php.notes (#18144) next »