Lionel
11-25-2004, 11:50 AM
I placed this in vb global.php
$alllinks = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "links WHERE valid = 1");
and $allinks[count] in my navbar.
The result is fine as per first thumbnail. But why wouldn't it display link count when viewing any links page?
I also tried to include it in links_globals
$alllinks = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "links WHERE valid = 1");
and $allinks[count] in my navbar.
The result is fine as per first thumbnail. But why wouldn't it display link count when viewing any links page?
I also tried to include it in links_globals