---

Build your own custom modules for Drupal 7

Build your own custom modules for Drupal 7, part 2 In this second part, we’ll learn to use the Drupal Database API to get data out of a site, and to write a hook to show a block on the site.