PHP Code:
$links = $db->query_first("SELECT pl_href AS href, pl_title AS title, pl_anchor AS anchor FROM " . TABLE_PREFIX . "user WHERE pl_href != ''");
while ($link = $db->fetch_array($links)) eval('$premium_links = "' . fetch_template('directory_premium_links') . '";');
I've added the three fields you see above to the user table so I can print out a list of websites on a certain page. However, when I use query_first it doesn't print anythign out. When I use query_read it only prints out the last link that would show (because read is not an array function). Why doesn't it work with first?