Thursday 20 September 2012

PHP equivalent for unescape()

urlencode() and urldecode() can be used

Examples:
urlencode()
echo urlencode("Hi+Me");
output: Hi%2BMe

urldecode()
echo urldecode("Hi+Me");
output: Hi Me

Share This!



No comments:

Post a Comment

Here We Write The Problems we face at different situations and Solutions to those problems.