I'm using the following code:
try {
$con = new PDO("sqlsrv:Server=172.20.21.193,9090;Database=sgt","deb","123123");
$con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die ("Erro na co...
asked by
07.07.2015 / 19:31