# \[PHP\] Parse URL encode

**URL:** <https://forum.kirupa.com/t/php-parse-url-encode/148835>\
**Category:** programming\
**Created:** [May 23, 2005, 11:28pm UTC](https://forum.kirupa.com/t/php-parse-url-encode/148835 "2005-05-23T23:28:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thinker2501](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Thinker2501](https://forum.kirupa.com/u/Thinker2501)\
**Post date:** [May 23, 2005, 11:28pm UTC](https://forum.kirupa.com/t/php-parse-url-encode/148835/1 "2005-05-23T23:28:03Z")

</div>

In my dropdown field there is an option that sends “North Financial District” using the GET method to the php page. The problem is that it is sent as “North+Financial+District”. When I ad a “%20” instead of the spaces, the broswer URL encodes the % so that doesn’t work. How do I parse the “+” and replace with spaces for a SQL search?
