Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
MaxDB Functions
PHP Manual

maxdb_debug

(PECL maxdb >= 1.0)

maxdb_debugPerforms debugging operations

Description

void maxdb_debug ( string $debug )

The maxdb_debug() can be used to trace the SQLDBC communication. The following strings can be used as a parameter to maxdb_debug():

Return Values

maxdb_debug() doesn't return any value.

Examples

Example #1 Procedural style

<?php

maxdb_debug
("trace packet 200");

$link maxdb_connect("localhost""MONA""RED""DEMODB");

/* check connection */
if (!$link) {
   
printf("Connect failed: %s\n"maxdb_connect_error());
   exit();
}

/* close connection */
maxdb_close($link);
?>

The above example produces no output.


MaxDB Functions
PHP Manual