downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<mysqli::__constructmysqli::dump_debug_info>
Last updated: Thu, 26 Jun 2008

mysqli::debug

mysqli_debug

(PHP 5)

mysqli_debug — Performs debugging operations

Description

Object oriented style (method):

bool mysqli::debug ( string $message )

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

Return Values

Returns TRUE.

Notes

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

Examples

Example #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");

?>



add a noteadd a note User Contributed Notes
Performs debugging operations
There are no user contributed notes for this page.




<mysqli::__constructmysqli::dump_debug_info>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs