title: How to connect php and hana?
body: <pre><code>$driver         = "HANADB"; 
  $servername  = "sercername";
  $schema       = "schemaname"; 
  $username       = "user"; 
  $password       = "XXXX";
  
  $conn=odbc_connect("Driver={HANADB};Server=$servername;Schema=$db_name;",
   $username, $password);}
  </code></pre>
  
  <p>I am using an odbc connection to try and connect to my hana schema. However, when i connect I get the following message</p>
  
  <pre><code>Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source 
  name not found and no default driver specified, SQL state IM002 in SQLConnect in 
  </code></pre>
  
  <p>I am not really sure as to where I am going wrong.</p>