Querying the database with db_select()

Drupal: 17m
Video Series
Information

In this chapter we learn how to get data out of the database and display it. The example walks through writing a module that creates a page that displays how many nodes are published and unpublished for each content type in our site. We use the db_select() function to accomplish this.

Discussion

Comments

You need to be an active subscriber to comment. or .
Lullabot logo

Lullabot has trained thousands of Drupal developers & guided the development of some of the largest Drupal websites.