title: Converting %20 into spaces using PHP
body: <p>I'm currently trying to pull the last words from the url after the slash and print them inside a H2 tag.</p>
  
  <p>I'm using this line: </p>
  
  <pre><code>&lt;h2&gt;
      &lt;?php 
          echo basename(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
      ?&gt;
  &lt;/h2&gt;
  </code></pre>
  
  <p>Currently if after the slash there is multiple words I'm getting %20 in-between the words, how do I go about adapting my code to convert that into a space?</p>
  
  <p>Any Advice or guidance is appreciated.</p>
  
  <p>Cheers :)</p>