Update readme sample (#357)

* Updating readme sample

* Update README.md
This commit is contained in:
ulvii 2017-04-03 12:21:38 -07:00 committed by GitHub
parent 55d0461bf6
commit f0fa84dff0

View file

@ -297,6 +297,9 @@ Navigate to `/var/www/html` (`/usr/local/var/www/htdocs` on Mac) and create a ne
);
//Establishes the connection
$conn = sqlsrv_connect( $serverName, $connectionOptions );
if( $conn === false ) {
die( FormatErrors( sqlsrv_errors()));
}
//Select Query
$tsql= "SELECT @@Version as SQL_VERSION";
//Executes the query