note 98168 added to function.strip-tags

From: Date: Sat, 29 May 2010 18:40:32 +0000
Subject: note 98168 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-169714@lists.php.net to get a copy of this message
Hey, don't forget to do this: $string = str_replace("\t",'',$string); That removes text TABS! because especially after using wysiwyg editor (like fckeditor for example) you'll risk to have a very annoying long text from strip_tags. Hope this helps! M www.edilizia.com ---- Server IP: 69.147.83.197 Probable Submitter: 151.95.185.126 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/98168 Del: integrated -- https://master.php.net/note/delete/98168/integrated Del: useless -- https://master.php.net/note/delete/98168/useless Del: bad code -- https://master.php.net/note/delete/98168/bad+code Del: spam -- https://master.php.net/note/delete/98168/spam Del: non-english -- https://master.php.net/note/delete/98168/non-english Del: in docs -- https://master.php.net/note/delete/98168/in+docs Del: other reasons-- https://master.php.net/note/delete/98168 Reject -- https://master.php.net/note/reject/98168 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169714) next »