Пример #1
0
 /**
  * Saves the changes to the value
  */
 public function save()
 {
     $db = DatabaseUtil::db_connect($this->database);
     $db->query('update ' . $this->table . 'set ' . $this->column . ' = ' . $this->value . ' where ID=' . $this->ID);
     $db->close();
 }