PHP mysqli_debug() Function
Example
Create a trace file in "/temp/client.trace" on the local machine:
<?php
mysqli_debug("d:t:o,/temp/client.trace");
?>
Definition and Usage
The mysqli_debug() function is used to perform debugging operations.
Note: In order to use this function, you must compile the MySQL client library to support debugging.
Syntax
mysqli_debug(message);
Parameter Values
Parameter | Description |
---|---|
message | Required. A string that represents the debugging operation to perform |
Technical Details
Return Value: | TRUE |
---|---|
PHP Version: | 5+ |
❮ PHP MySQLi Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.