db_query() and db_placeholders() example #1
By adam on Sat, 01/15/2011 - 12:26Have you ever wondered how to properly build a query like this in Drupal:
SELECT nid, type, title FROM node n WHERE n.type IN('page','story');
Learn how to do this after the break.

