note 10043 deleted from function.htmlentities by jimw

From: Date: Mon, 17 Dec 2001 22:28:35 +0000
Subject: note 10043 deleted from function.htmlentities by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23017@lists.php.net to get a copy of this message
When you're user enters a %(percent)-sign, and you save it in you db with this code : $Tekst = nl2br(htmlentities(ereg_replace("%","%%",urldecode($Tekst)))); It will work, but not with: $Tekst = nl2br(htmlentities(urldecode($Tekst))); Did i mis a functionality for it, or is it a strange feature..

« previous php.notes (#23017) next »