The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how do i get a count
fixed the first part but i do think theres a simpler way .
Code:
mysql_select_db($dbname); $artist = mysql_query("SELECT DISTINCT artist FROM songlist"); $artist = mysql_num_rows($artist) or die(mysql_error()); $songs = mysql_query("SELECT title FROM songlist"); $songs = mysql_num_rows($songs) or die(mysql_error()); $album = mysql_query("SELECT DISTINCT album FROM songlist"); $album = mysql_num_rows($album) or die(mysql_error()); $request = mysql_query("SELECT count_requested FROM songlist"); $request = mysql_num_rows($request) or die(mysql_error()); ?> also need this below Total Users: Active Users: Online Users: Total Posts: how can i display that info standalone from my board. i want to have it in a block on the cms |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|