January 31st, 2013, 03:43 PM
Connect to db
$db = new PDO ("mssql:host=$hostname;dbname=$dbname";charset=utf8","$username","$password", $options);
I have a website created on my server that also has the SQL Server on it. Just testing here.
how do I specify my host name?
January 31st, 2013, 03:51 PM
There are 10 kinds of people in the world. Those that understand binary and those that don't.
February 1st, 2013, 07:43 AM
Originally Posted by jaykappy
$dbname='your db name';
The same with username and password.