note 18889 added to function.strip-tags

From: Date: Fri, 08 Feb 2002 14:41:39 +0000
Subject: note 18889 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-26385@lists.php.net to get a copy of this message
You can also do stuff like this to allow special (non-HTML) tags to do the work of HTML: /* Bold */ $msg = ereg_replace("\[b](.*)\[/b]", "<b>\\1</b>", $msg); /* Slanted */ $msg = ereg_replace("\[i](.*)\[/i]", "<i>\\1</i>", $msg); /* Underlined */ $msg = ereg_replace("\[u](.*)\[/u]", "<u>\\1</u>", $msg); -- http://www.php.net/manual/en/function.strip-tags.php http://master.php.net/manage/user-notes.php?action=edit+18889 http://master.php.net/manage/user-notes.php?action=delete+18889 http://master.php.net/manage/user-notes.php?action=reject+18889

« previous php.notes (#26385) next »