title: setAttribute to PDO using ODBC Driver?
body: <p>i am trying to set some attributes to my pdo connection, i am using the odbc drvier that is connecting to SQL Server and i get unknown attribute</p>
  
  <pre><code>$db = new PDO("odbc:Driver={SQL Server};Server=127.0.0.1;Database=my_db;charset=utf8; Uid=my_usser;Pwd=my_pass;");
  $db-&gt;setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
  print_r($db-&gt;errorinfo());
  
  //It show me: Array ( [0] =&gt; 00000 [1] =&gt; 0 [2] =&gt; Unknown Attribute (setAttribute[0] at (null):0) [3] =&gt; IM001 ) 
  </code></pre>
  
  <p>I want to set PDO::ATTR_EMULATE_PREPARES to false coz i read here is a secure way to stop sql injection when using prepare functiom.</p>