escape()
| From: | matt dot wong at tumbleweed dot com | Date: | Tue, 09 Jan 2001 21:31:30 +0000 |
| Subject: | escape() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33549@lists.php.net to get a copy of this message | ||
Hello,
Is there any PHP equivalent of the javascript function escape()? For example
<?php
$name = "hello world!";
$name = escape($name);
echo $name; // prints "hello%20world%21"
?>
thanks!
-Matt