Quote:
Originally Posted by Logician
You can't do it with webtemplates.
However adding such a code in a hook like "global_setup_complete" as a vb pluggin can help:
PHP Code:
$myspecialcode = $db->query_first("SELECT COUNT(*) as count FROM accounts");
Now you can use $myspecialcode[count] variable in many templates in the entire vb.
|
I could also use that on your product too if I do it like that, right?