(PHP 5, PHP 7)
Performs debugging operations
bool mysqli::debug ( string $message )
Object oriented style
Procedural style
bool mysqli_debug ( string
$message
)Performs debugging operations using the Fred Fish debugging library.
Parameters:
message
A string representing the debugging operation to perform
Returns:
Returns TRUE
.
Notes:
To use the mysqli_debug() function you must compile the MySQL client library to support debugging.
Examples:
Generating a Trace File
<?php /* Create a trace file in '/tmp/client.trace' on the local (client) machine: */ mysqli_debug("d:t:o,/tmp/client.trace"); ?>
See also:
Please login to continue.