unescape
| From: | Paul Wallace | Date: | Fri, 11 Jan 2002 09:42:08 +0000 |
| Subject: | unescape | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11388@lists.php.net to get a copy of this message | ||
Hello,
To read a database field with space characters in it from a MySQL
database, and out put that result in HTML I have the PHP:
<td>$topic_description</td>
I get the HTML output as:
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, extracted from DBs? My 'Bible' has no apparent entry for
this.
Many thanks
Paul.