Filter FILTER_SANITIZE_SPECIAL_CHARS December 27, 2011 Pramod T P Leave a comment It Escapes special characters like &,< etc Example ====== <?php print_r(filter_var(“PHPCodez & Me”,FILTER_SANITIZE_SPECIAL_CHARS)); ?> Output ===== PHPCodez & Me (If you take view source , it will be PHPCodez & Me)