RE: [PHP] explode
| From: | Jason Murray | Date: | Mon, 25 Jun 2001 02:30:11 +0000 |
| Subject: | RE: [PHP] explode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55078@lists.php.net to get a copy of this message | ||
> How come I get this it does not make since
Makes perfect sense:
<a href="whatever.php?name=what+ever">test</a>
Web browsers url encode form elements. If you use a href link like this,
you need to do the URL encoding yourself. A + happens to be a space, in
URL encoding.
So, PHP receives "name=what+ever" and sets $name = "what ever".
Jason