Conn->Query($sql);
if ($this->Conn->getErrorCode() != 0) {
- $this->errorMessage = 'Error: ('.$this->Conn->getErrorCode().') '.$this->Conn->getErrorMsg().'
Database Query:'.htmlspecialchars($sql).'
';
- $this->Done();
- break;
- }
+ $this->errorMessage = 'Error: ('.$this->Conn->getErrorCode().') '.$this->Conn->getErrorMsg().'
Database Query:'.htmlspecialchars($sql).'
';
+ $this->LastQueryNum = $i+1;
+ return false;
+// $this->Done();
+// break;
+ }
}
+ return true;
}
function ImportLanguage($lang_file)