> -----Original Message----- > From: Paul Wallace [mailto:[EMAIL PROTECTED]] > 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: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]