Home
Knowledge Base
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
Share this article
Facebook
Google+
Twitter
Other Social Networks
×
Share With Others
BlinkList
Blogmarks
del.icio.us
Digg
Diigo
Facebook
FriendFeed
Google+
LinkedIn
Netvouz
NewsVine
Reddit
StumbleUpon
Tumblr
Twitter
Yahoo Bookmarks
Print
×
forgotPassLbl
×
Please log in below
Username
Password
Remember Me
×
Not Logged In
You must be logged in to perform this action.