I no longer get the "call to undefined function"....So I think i've overcome the extensions problem.
I get this message:
Warning: mssql_query(): supplied argument is not a valid MS SQL-Link resource in d:\php\mssql.php on line 7
Warning: mssql_fetch_array(): supplied argument is not a valid MS SQL-result resource in d:\php\mssql.php on line 8
Here is the code:
<?php
$user="sa";
$pass="";
$conn = mssql_connect(host,$user,$pass);
$database = mssql_select_db(database',$conn);
$result=mssql_query('select * from atable',$database);
while ($row=mssql_fetch_array($result)) {
$counter++;
$c1=$row['columna'];
$c2=$row['columnb'];
echo ("$counter c1: $c1 c2: $c2<br>\n");
}
mssql_close($conn);
?>