将查询错误转换为MySQLi中的异常
mysqli_report(MYSQLI_REPORT_STRICT)
原守则:
public function mysqlQuery($SQL) { $this->Result = mysqli_query($this->DBlink, $SQL); if($this->Result === false) throw new MySQLiQueryException($SQL, mysqli_error($this->DBlink), mysqli_errno($this->DBlink)); return $this->Result;}
问题:
繁星coding
犯罪嫌疑人X