note 20546 rejected from function.urlencode by sander

From: Date: Mon, 08 Apr 2002 12:48:27 +0000
Subject: note 20546 rejected from function.urlencode by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28950@lists.php.net to get a copy of this message
Hello, I set up a very simple form that posts to a PHP script file where I keep all my actions using a SWITCH. If I enter any word that contains an apostrophe, such as Craig's, the value becomes Craig\'s. Why is the form automatically escaping the apostrophe('). I am new to PHP. Thanks.

« previous php.notes (#28950) next »