Load nodes from specific content type Thanks to kiamlaluno♦ I can load recent nodes using node_load() but how can I load recent nodes from a specific content type?
You should always enclose the table names with curly brackets. That way table prefix (if any) will be added automatically. It's better to use that way all the time.

This is how your query should look like:

SELECT nid FROM {node} WHERE type = 'page' ORDER BY created DESC.