Мы разрабатываем PHP веб-сервиса, и наша база данных на SQL Server 2008 R2 строкаКак подключить PHP WebService к SQL Server 2008 R2
/SQL * подключение */
$link = mssql_connect('localhost','usrname','pass') or die('Cannot connect to the DB');
mssql_select_db('Data Source=PC-NAME;Initial Catalog=DBNAME.MDF;Persist Security Info=True',$link) or die('Cannot select the DB');
/* grab the posts from the db */
echo $query = "SELECT * FROM add_product WHERE prod_pos = '".$_GET['prod_pos']."'";
$result = mssql_query($query,$link) or die('Errant query: '.$query);
дает роковую ошибку на mssql_connect.
Фатальная ошибка: Вызов неопределенной функции mssql_connect() в service.php строке 11
Так как подключить PHP веб-сервиса с SQL Server 2008 R2 ???
Спасибо заранее ...