diff --git a/samples/tutorials/php/Ubuntu/SqlServerSample/connect.php b/samples/tutorials/php/Ubuntu/SqlServerSample/connect.php index c19bec3c..cdf977ec 100644 --- a/samples/tutorials/php/Ubuntu/SqlServerSample/connect.php +++ b/samples/tutorials/php/Ubuntu/SqlServerSample/connect.php @@ -1,12 +1,14 @@ "SampleDB", "Uid" => "sa", "PWD" => "your_password" - ); - //Establishes the connection - $conn = sqlsrv_connect($serverName, $connectionOptions); - if($conn) - echo "Connected!" -?> \ No newline at end of file + ]; + + // Establish the connection + $connection = sqlsrv_connect($serverName, $connectionOptions); + if ($connection) { + echo "Connected!"; + }