title: HTML email from PHP - apostrophe problem
body: <p>I have a webform in php that sends 2 emails.  One is in plaintext, one in html to the customer that includes a url string based on the user input. </p>
  
  <p>If the name field for instance says "Bob O'Reilly", the plaintext email is fine but the html email string would read "http://www.mysite.com?name=bob o", completely truncating the string.  I know I need to escape the apostrophe but I've tried addslashes and it doesn't seem to do what I need it to. </p>
  
  <p>Thanks</p>