RE: [PHP-WIN] unescape
| From: | Ford, Mike [LSS] | Date: | Fri, 11 Jan 2002 11:38:01 +0000 |
| Subject: | RE: [PHP-WIN] unescape | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11389@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Paul Wallace [mailto:paul.wallace@prosolutions-ap.com]
> Sent: 11 January 2002 09:42
>
> about%20this%20forum
>
> And so on for subsequent space characters. In the past I have
> had to remove
> '%20' output using 'unescape' when scripting with Javascript.
> What is the PHP equivalent to unescape to remove space
> characters (%20)
> in HTML output,
Try urldecode() (see http://www.php.net/manual/en/function.urldecode.php)
or rawurldecode() (see http://www.php.net/manual/en/function.rawurldecode.php).
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211