Dump debug info into the log:
<?php
$mysqli = new mysqli("localhost","my_user","my_password","my_db");
$mysqli -> dump_debug_info();
?>
Look at example of procedural style at the bottom.
The dump_debug_info() / mysqli_dump_debug_info() function dumps debugging info into the log.
$mysqli -> dump_debug_info()
mysqli_dump_debug_info(
link);
Parameter | Description |
---|---|
link | Required. A link identifier returned by connect() or init() |
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 5+ |
Dump debug info into the log:
<?php
$con = mysqli_connect("localhost","my_user","my_password","my_db");
mysqli_dump_debug_info($con);
?>
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!