Public feed
#722696
<?php
$sql = "SELECT n.nid, n.title FROM {node} n WHERE n.type = 'blog' AND n.status = 1";
$results = db_query($sql);
print $results;
?>
The above code is in a block and it's returning things like this "Resource id #149" when it should be returning the titles of blog posts.