note 98686 deleted from function.filter-input by sobak

From: Date: Sat, 19 Nov 2016 07:35:57 +0000
Subject: note 98686 deleted from function.filter-input by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207201@lists.php.net to get a copy of this message
Note Submitter: med dot k1987 at yahoo dot com ---- Hello, Does anybody know how to prevent FILTER_SANITIZE_SPECIAL_CHARS from converting the line breaks (\n) into (
). I'm developing a simple commenting system for my website and I found that the php filter converts \n to 
 so when using nl2br() there are no line breaks. help please. thanks :)

« previous php.notes (#207201) next »