Archive for the ‘Taxonomy’ Category

Get All Nodes from one taxonomy

Tuesday, October 28th, 2008

Want to get all nodes classified under specific taxonomy?

Here we go:

<?php

 $result = taxonomy_select_nodes(array($node->taxonomy[1]->tid));

 while ($row = db_fetch_object($result)) {

 print $row->nid."<br />";

 }
 
?>