PHP mysqli_debug () function
Examples
On the local machine "/temp/client.trace" create a trace file:
<?php
mysqli_debug("d:t:o,/temp/client.trace");
?>
mysqli_debug("d:t:o,/temp/client.trace");
?>
Definition and Usage
mysqli_debug () function is used to perform debug operations.
Note: To use this function, you must compile MySQL client library to support debugging.
grammar
mysqli_debug( message);
参数 | 描述 |
---|---|
message | 必需。一个代表要执行的调试操作的字符串。 |
technical details
return value: | TRUE |
---|---|
PHP version: | 5+ |
PHP MySQLi Reference Manual