A
Anonymous
Guest
Hi,
Sound likes there is no driver loaded. I'm not familiar with the requirements of mssql, but a quick google shows that you might want to be using the newer sqlsrv_xxx function (e.g. sqlsrv_connect instead of mssql_connect).
If you are getting 'undefined function' then you haven't got that extension loaded. I suggest you check what drivers / extensions you HAVE got loaded. Do a simple page with just a phpinfo() call - it will print out lots of stuff about your php environment. If there is no mention of anything Sql-Server, then you haven't got any SqlServer stuff.
Once the undefined function bit dissapears, the real problem is usually getting the right connection string.
-A
Sound likes there is no driver loaded. I'm not familiar with the requirements of mssql, but a quick google shows that you might want to be using the newer sqlsrv_xxx function (e.g. sqlsrv_connect instead of mssql_connect).
If you are getting 'undefined function' then you haven't got that extension loaded. I suggest you check what drivers / extensions you HAVE got loaded. Do a simple page with just a phpinfo() call - it will print out lots of stuff about your php environment. If there is no mention of anything Sql-Server, then you haven't got any SqlServer stuff.
Code:
<?php
phpinfo();
?>
-A