note 13424 added to function.parse-str.php
| From: | php-general at lists dot php dot net | Date: | Fri, 15 Jun 2001 21:42:35 +0000 |
| Subject: | note 13424 added to function.parse-str.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14346@lists.php.net to get a copy of this message | ||
If you have already parsed a query down to its components and want to use parse_str to get rid of
those nasty %20's and +'s try this:
parse_str("field=$field");
BEFORE:
$field = "Great+White+North+Eh"
AFTER
$field = "Great White North Eh"
http://www.php.net/manual/en/function.parse-str.php