error();
$dberrno = $this->errno();
$json_data="{";
if($dberrno == 1114) {
$msg="目前连接人数太多了,请稍等!";
} else {
$msg="";
if($message) {
$msg.=$message."
";
}
$msg.="查询时间:".gmdate("Y-n-j g:ia", $timestamp + ($GLOBALS['timeoffset'] * 3600))."
";
if($sql) {
$msg.="错误SQL:".htmlspecialchars($sql)."|";
}
$msg.="错误信息:".$dberror."
";
$msg.="错误代码:".$dberrno."
";
}
$json_data="{\"code\":0,\"msg\":\"".$msg."\"}";
echo $json_data;
exit();
?>