Update readme sample (#357)
* Updating readme sample * Update README.md
This commit is contained in:
parent
55d0461bf6
commit
f0fa84dff0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue