Fatal error: Call to undefined function mssql_connect() in

Programming, error messages and sample code > PHP
When you try to use mssql_connect() to connect to MSSQL server, you'll get Fatal error: Call to undefined function mssql_connect() in.

To fix this, please use sqlsrv for sql server database with php. For more info, can you please see
http://php.net/manual/en/book.sqlsrv.php.

We also have sample code at 

http://www.smarterasp.net/support/KB/a183/sample-code-to-connect-to-an-ms-sql-database-using-php.aspx