title: How connect php and sql server 2008 R2 using wamp server
body: <p>Already changed file php.ini 
  And the index.php file contains:</p>
  
  <pre><code>&lt;?php
  $server = 'name/SQLEXPRESS';
  $link = mssql_connect($server, 'namepc', 'pw');
  if (!$link) {
      die('Something went wrong');
  }
  ?&gt;
  </code></pre>
  
  <p>And the error message on the localhost is:</p>
  
  <p>Warning: mssql_connect() [function.mssql-connect]:. (severity 14)  </p>
  
  <p>Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 
  Something went wrong</p>