Revision: 9111
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 21, 2008 19:59 by donkeykong
Initial Code
function stripTagsAmendSpaces($str) { $str = trim($str); $str= strip_tags($str); return $str = preg_replace('/\\s{2,}/',' ',$str); }
Initial URL
Initial Description
A function to remove tags and to also remove excess spaces.
Initial Title
strip html and amend tabs and spaces
Initial Tags
html
Initial Language
PHP