Redigera

Dela via


Handling Errors and Warnings

Download PHP driver

If you are using the PDO_SQLSRV driver, you can find more information about errors and error handling on the PDO website.

Topics in this section provide information about handling errors and warnings with the SQLSRV driver of the Microsoft Drivers for PHP for SQL Server.

In This Section

Topic Description
How to: Configure Error and Warning Handling Using the SQLSRV Driver Demonstrates how to change configuration settings for handling errors and warnings.
How to: Handle Errors and Warnings Using the SQLSRV Driver Demonstrates how to handle errors and warnings separately.

Reference

sqlsrv_errors

sqlsrv_configure

sqlsrv_get_config

See Also

Programming Guide for the Microsoft Drivers for PHP for SQL Server