title: How to get rid of the %20 from my url when extracting a query from phpmyadmin
body: <p>Ok I manually inserted the name New York in my database. Now I want to display as two words as New York and it works fine but when I want to turn into a link like newyork.mydomain.com the two words doesnt combine instead it does new%20york.mydomain.com.  Is there anyway to keep the name in two words in the database but have them combine when i turn into a link.  Keep in my when I do a query some names have one word and others have multiple words.  Here is the code I'm using.</p>
  
  <pre><code>while($state = mysql_fetch_array($states_set)) {
      echo "&lt;td&gt;&lt;a href=\"http://{$state["menu_name"]}.mydomain.com\"&gt;{$state["menu_name"]}&lt;/a&gt;&lt;/td&gt;";
  </code></pre>
  
  <p>Thanks in advance</p>