title: ampersand in password problem - php
body: <p>Pretty much what it says on the title. I am trying to connect to a Microsoft SQL Server database with a password which contains an ampersand:</p>
  
  <pre><code>&lt;?php
      $mssqlHost = "Reports.autotask.net,1433"; 
      $mssqlUser = 'NetworkROI';
      $mssqlPass = 'Rosdcpe7&amp;Essdcscpalda'; //has been changed
      $mssqlATDB = 'TF_3745000_WH';
      $SQLConnect = mssql_connect($mssqlHost,$mssqlUser,$mssqlPass) 
          or die('Could not connect to SQL Server on '.$mssqlHost
          .' '. mssql_get_last_message());
  ?&gt;
  </code></pre>
  
  <p>On a possibly related matter: I'm getting an “Error 101 (net::ERR_CONNECTION_RESET): Unknown error.” message when I try to connect.</p>
  
  <p>How do I escape it?</p>
  
  <p>Jonesy</p>