Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

mssql php

$dbh = new PDO ("mssql:host=$hostname;dbname=$dbname","$username","$pw");

$hostname may need to be configured as either...
$hostname.':'.$port;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mssql #php
ADD COMMENT
Topic
Name
2+2 =