note 103238 deleted from reserved.variables.get by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Apr 2011 14:25:22 +0000 |
| Subject: | note 103238 deleted from reserved.variables.get by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178477@lists.php.net to get a copy of this message | ||
Note Submitter: forum at ayasoft dot eu
----
Just a simple comment, really, but if you need to encode ampersand as a parameter, you should be
using urlencode
<?php
$param_name = urlencode('andrew&jenny');
header('Location: http://www.ayasoft.eu?name=' . $param_name);
?>