Having problems with calling functions
Hi everyone,
I was reading a few of the posts here and decided to test some of them and see if I learned anything, but I guess I didn't.
What I'm trying to do is I wanted to show the total number of threads on my homepage, which is not integrated to vbulletin, it is a seperate page.
I have this page saved as php and I have put this at the begining of the page,
<?php
chdir("./my forums directory/");
require('./global.php');
chdir("../");
?>
the problem I have though is that I don't know what to do from there, how do I write a command/script that would call the total number of threads from the vbulletin's database?
thank you for your help.
|