try; } public function setTry($val) { $this->try = $val; } public function getTime() { return $this->time; } public function setTime($val) { $this->time = $val; } */ public function getFeedback() { return $this->feedback; } public function setFeedback($val) { $this->feedback = $val; } public function getResult() { return $this->getFeedback(); } public function save() { global $kdb; $aid = $this->getAnswerID(); parent::save(); if ( $aid == null ) { $sql = "INSERT INTO ".$this->table." (answerID, feedback) values(".$this->getAnswerID().", '".$this->getFeedback()."')"; $kdb->query($sql); } else { // update answer - not in this version of Krihvel } } } ?>