title: How to have apostrophes in PHP string?
body: <p>Part of my <code>PHP</code> code includes the construction of a <code>URL</code> string as follows:</p>
  
  <pre><code>$msg = $_REQUEST["msg"];
  $content =  'action=sendmsg'. 
                  '&amp;user='.rawurlencode($username). 
                  '&amp;password='.rawurlencode($password). 
                  '&amp;to='.rawurlencode($destination). 
                  '&amp;text='.rawurlencode($msg);
  </code></pre>
  
  <p>When <code>$msg</code> happens to contain an apostrophe, it get sent as <code>"\'"</code>.</p>
  
  <p>What do I need to do to make sure the backslash is not inserted by <code>PHP</code>?</p>