Jump to content

[SOLVED] db connection to mssql error


CincoPistolero

Recommended Posts

I'm trying to make a db connection to a MS-Sql server. Below is my code, and my error.

 

$connection = mssql_connect($host, $dbuser, $dbpass) or die ("Unable to connect!");
mssql_select_db($dbname, $connection) or die ("Unable to select database!");
?>

 

and this is the error.

 

PHP Fatal error: Call to undefined function mssql_connect() in 

Link to comment
https://forums.phpfreaks.com/topic/75809-solved-db-connection-to-mssql-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.