function save($idKey) { $this->mValueKey = $idKey; $mql = new MQL(); $where = $this->mPrimaryKey . "=\"" . $this->mValueKey . "\" "; $this->get($where); $cnn = $mql->connect(); $rs = $cnn->query($this->mSql); if ($rs == false) { $this->mMessages .= "ERROR(" . $cnn->error . ") EN EL QUERY : " . $this->mSql . " \n"; $this->getDebug(); } return true; //$cnn->insert_id; }