How can i connect PHP script to MSSQL server.
PHP MSSQL connection
Collapse
X
-
Tags: None
-
-
-
- He's asking about MSSQL (Microsoft SQL Server), not MySQL. Big difference.
- The old MySQL API extension, including the mysql_connect and mysql_query functions, is deprecated and should not be used any more. These days you should be using PDO or MySQLi to access MySQL.
- The old MSSQL functions, like mssql_connect(), are not available on PHP 5.3 or higher. The SqlSrv extension I mentioned in my previous post should be used instead.
Comment
- He's asking about MSSQL (Microsoft SQL Server), not MySQL. Big difference.
Comment