db_query for a specific titles
You can read more about db_query() here.

$result = db_query("
  SELECT title
  FROM {node} n
  WHERE n.type = :type
    AND n.uid =:uid
", array(':type' =&gt; 'outlets', ':uid' =&gt; $uid));

foreach ($result as $record) {
  // Perform operations on $record-&gt;title, etc. here.
  // in this example the available data would be mapped to object properties:
  // $record-&gt;nid, $record-&gt;title, $record-&gt;created
}