Return to Snippet

Revision: 47235
at June 3, 2011 08:02 by grgcnnr


Initial Code
$result = db_query("SELECT nid FROM {node} WHERE type IN (:type)", array(
    ':type' => array('feed_item'),
  ));
  
  
  foreach ($result as $record) {
    ...
  }

Initial URL

                                

Initial Description

                                

Initial Title
select all nids of node type

Initial Tags
drupal

Initial Language
PHP