I'm trying to connect and can. The code fails at the select database. I have created the Tools database already. The table is an exact clone of the mysql counterpart that is currently working. Any Suggestions?
<?php
$dbuser="yukon";
$dbpass="yukon";
$dbname="Tools"; //the name of the database
$chandle = odbc_connect("sqlserver", $dbuser, $dbpass)
or die("Connection Failure to Database");
echo "Connected to database server<br>";
//select a database to work with
$selected = mssql_select_db($dbname, $chandle)
or die("Couldn't open database $myDB");
?>