About 5,400,000 results
Open links in new tab
  1. PHP: sqlsrv_connect - Manual

    Opens a connection to a Microsoft SQL Server database. By default, the connection is attempted using Windows Authentication. To connect using SQL Server Authentication, include "UID" and "PWD" in the connection options array.

  2. How to use PHP to connect to sql server - Stack Overflow

    I want to use PHP to connect to sql server database. I installed xampp 1.7.0 (php 5.2) and SQLSRV20. I've added the extensions in php.ini and I get this error: Warning: mssql_connect () [function....

  3. PHP - Connect to SQL Server

    To connect PHP applications to SQL Server using PHP PDO, you need to properly install the necessary drivers and configure your PHP environments. You can follow these steps to …

  4. Download the Microsoft Drivers for PHP for SQL Server

    Jan 31, 2023 · The Microsoft Drivers for PHP for SQL Server enable integration with SQL Server for PHP applications. The drivers are PHP extensions that allow the reading and writing of SQL Server data from within PHP scripts.

  5. Step 3: Connecting to SQL using PHP - PHP drivers for SQL Server

    Nov 25, 2024 · Step 3 is a proof of concept, which shows how you can connect to SQL Server using PHP. The basic examples demonstrate selecting and inserting data.

  6. Connecting to the Server - PHP drivers for SQL Server | Microsoft

    Jun 25, 2024 · Learn about the different methods to connect to the database using the Microsoft Drivers for PHP for SQL Server.

  7. How to Install MS SQL Server and Connect Your PHP Application …

    Oct 7, 2024 · In this guide, we covered the installation of MS SQL Server, setting up the necessary drivers, creating a database and user, and connecting your PHP application to the SQL Server database.

  8. How To Connect Ms Sql Server With PHP - Robots.net

    Aug 30, 2023 · Throughout this article, we covered the prerequisites for connecting MS SQL Server with PHP, including the installation of SQL Server, downloading and installing the SQLSRV Drivers, and enabling the SQLSRV extension in PHP.

  9. Connecting to Microsoft SQL Server in PHP on Linux

    Now that PHP’s PDO knows how to interact with MS SQL Server, you can use it to connect to the server and run database commands. To establish a connection, use the global $sqlserv_connect function. For example, to connect to a local server:

  10. Connect to MS SQL Server with PHP 5.3+ - Sysadmins of the North

    Mar 22, 2013 · In this article you learned you no longer can use mssql_connect() in PHP 5.3 and up. You have to use a newer driver and API called SQLSRV with, for example, …

  11. Some results have been removed
Refresh