Escape colon in url string
I have a string:
$fonts = "Arial:400";
When I use that in a URL, the colon prints as %3A. How can I escape the
colon so that it prints as :? I have tried preg_replace and url_encode
with no luck. I'm sure its simple but I have searched.
No comments:
Post a Comment