title: PHP url string with special character
body: <p>I have a url which looks like this:</p>
  
  <pre><code>http://www.example.com?id=1&amp;user=Test&amp;name=Test23423&amp;country=us
  </code></pre>
  
  <p>If the url is like this, it works fine. But some user uses special characters (for example "&amp;") like this:</p>
  
  <pre><code>http://www.example.com?id=1&amp;user=Te&amp;st&amp;name=Test&amp;123&amp;country=us
  </code></pre>
  
  <p>How can i convert this string, that everything works fine at the end?</p>