title: PHP - String manipulation remove spcial characters and replace spaces
body: <p>I am getting strings from a database and then using the strings to build a URL.  My issue is, some of the strings will have characters like &lt; > &amp; { } * general special characters, but the string may also have strings in. How would I replace the spaces with dashes and totally remove and special characters from the strings?</p>