©
本文档使用
php.cn手册 发布
(PECL maxdb >= 1.0)
maxdb_debug — Performs debugging operations
$debug
)The maxdb_debug() can be used to trace the SQLDBC communication. The following strings can be used as a parameter to maxdb_debug() :
maxdb_debug() doesn't return any value.
Example #1 过程化风格
<?php
maxdb_debug ( "trace packet 200" );
$link = maxdb_connect ( "localhost" , "MONA" , "RED" , "DEMODB" );
if (! $link ) {
printf ( "Connect failed: %s\n" , maxdb_connect_error ());
exit();
}
maxdb_close ( $link );
?>
The above example produces no output.