title: Replace Dash with Space in PHP
body: <p>I currently have this line in my code:</p>
  
  <pre><code>&lt;div&gt;&lt;a href="http://www.envisionforce.com/local/'.$row[website].'-seo-services"&gt;'.ucwords($row[website]).'&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And it will display a city name such as this:</p>
  
  <pre><code>Puiol-del-piu
  </code></pre>
  
  <p>But what I need is for it to display without the dashes and so that ucwords will capitalize the first letter of each word such as this:</p>
  
  <pre><code>Puiol Del Piu
  </code></pre>
  
  <p>It would be great if the code could be confined to this one line because I have a lot more going on with others stuff in the page as well.</p>