Re: Add Gallery Stats to Home Statistics
This is how Brian suggested it in VBaLinks...
$totallinks = $DB_site->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "links WHERE valid = 1 AND suspended = 0");
$totallinks = number_format($totallinks['count']);
Anyone understand this enough, and table structure for Gallery?