title: Programmatically get and set field values
body: <p>I have two fields I want to fill with the exactly same values; users should fill only one.<br>
  I also have a function which checks if the second field is empty. Is there any change in how the field values are obtained and set in Drupal 6, and Drupal 7?</p>
  
  <p>EDIT:
  I am trying to edit module right now.<br>
  Yes, I am talking about node fields.<br>
  $node array has only ID of terms I added to node. How do I get the term name, knowing its ID?</p>