function error() { $error = parent::error($this->connect); if ($error['no']) { $this->getError("Query: " . $this->sql . "<br />" . $error['msg'] . ""); } }