Here is my current code:
Code:
$latestforum = $db->query_first('SELECT title,threadid FROM ' . TABLE_PREFIX . 'thread ORDER BY dateline DESC LIMIT 0,5');
$latestforumposts .= "<a href=\"showthread.php?t=".$latestforum['threadid']."\">".$latestforum['title']."</a>";
But when I try to make it an array as you have above, it doesn't return any values
Anyone got any ideas?
If I use $db->query_first it is ok, if I use $db->query_read it goes nuts and will only show a white page