Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP mysqli_debug() Function

PHP mysqli_debug() Function

PHP MySQLi Reference Manual PHP MySQLi Reference Manual

Example

Create a trace file in "/temp/client.trace" on the local machine:


Definition and Usage

The mysqli_debug() function is used to perform debugging operations.

**Note:** To use this function, you must compile the MySQL client library with debugging support.


Syntax

mysqli_debug(

message);

Parameters Description
message Required. A string representing the debugging operation to perform.

Technical Details

Return Value: TRUE
PHP Version: 5+

PHP MySQLi Reference Manual PHP MySQLi Reference Manual