Time from time you need to update single or several specific fields of your entity in Drupal. It can be node, comment, taxonomy or some other custom entity. So how do we usually do this? Let's see:
- $node = node_load(1); // 1 is node id we want to load
- // Change field ...