oop connection php ssms code example
Example: php pdo sql server connect
$db = new PDO("sqlsrv:Server=YouAddress;Database=YourDatabase", "Username", "Password");
$db = new PDO("sqlsrv:Server=YouAddress;Database=YourDatabase", "Username", "Password");