联系官方销售客服
1835022288
028-61286886
protected function execute(string $sql)
{
while ($this->connID->more_results()) {
$this->connID->next_result();
if ($res = $this->connID->store_result()) {
$res->free();
}
}
try {
return $this->connID->query($this->prepQuery($sql), $this->resultMode);
} catch (mysqli_sql_exception $e) {
log_message('error', $e->getMessage());
if ($this->DBDebug) {
throw $e;
}
}
return false;
}
添加内链关键词和链接的时候一直提示有重复说这一段代码的原因,应该怎么修改呀
protected function execute(string $sql)
{
while ($this->connID->more_results()) {
$this->connID->next_result();
if ($res = $this->connID->store_result()) {
$res->free();
}
}
try {
return $this->connID->query($this->prepQuery($sql), $this->resultMode);
} catch (mysqli_sql_exception $e) {
log_message('error', $e->getMessage());
if ($this->DBDebug) {
throw $e;
}
}
return false;
}