mysqli_debug

(PHP 5)

mysqli_debug -- Performs debugging operations

Description

void mysqli_debug ( string debug )

The mysqli_debug() function is used to perform debugging operations using the Fred Fish debugging library. The debug parameter is a string representing the debugging operation to perform.

Notatka: To use the mysqli_debug() function you must complile the MySQL client library to support debugging.

Zwracane wartości

mysqli_debug() doesn't return any value.

Patrz także

mysqli_dump_debug_info() i mysqli_report().

Przykłady

Przykład 1. Generating a Trace File

<?php
    
/* Create a trace file in '/tmp/client.trace' on the local (client) machine: */
mysqli_debug("d:t:0,/tmp/client.trace");
    
?>

Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:32