Hey Rex, just posted back on the compile 🙂
Anyway, I've never had to use iODBC with it and that may be what is causing the problem.
My interfaces file reads:
server01
query tcp tds7.0 server01 1433
Then in my script I simply do (direct):
$hostname ="server01";
$username = "user";
$password = "pass";
$dbname = "Table"; $connection = mssql_connect($hostname,$username,$password) or die("unable to connect");
mssql_select_db($dbname);
$query_result =mssql_query($other) ;
$number_rows = mssql_num_rows($query_result);
$number_fields = mssql_num_fields($query_result) ;
and so on....