Skip to content

Instantly share code, notes, and snippets.

@irfanwv
irfanwv / sqlsrv_test.php
Created February 21, 2020 07:15 — forked from MCF/sqlsrv_test.php
PDO sqlsrv PHP driver, connect and query SQL Server database - reduced test case.
View sqlsrv_test.php
<?php
$serverName = "sqlserver.example.com";
$database = "myDbName";
$uid = 'sqlserver_username';
$pwd = 'password';
try {
$conn = new PDO(
"sqlsrv:server=$serverName;Database=$database",
$uid,
@irfanwv
irfanwv / dynamically-add-fields-in-row-angularjs.markdown
Created February 27, 2019 06:53
Dynamically add fields in row - AngularJS
View dynamically-add-fields-in-row-angularjs.markdown