PHP mysqli_debug()Functions
Examples
Create a trace file in "/temp/client.trace" on the local machine:
<?php
mysqli_debug("d:t:o,/temp/client.trace");
?>
mysqli_debug("d:t:o,/temp/client.trace");
?>
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 to support debugging.
Syntax
mysqli_debug(message);
| Parameters | Description |
|---|---|
| message | Required. A string representing the debugging operation to be performed. |
Technical Details
| Return Value: | TRUE |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual Other Extensions