The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]() Code:
$membercount = $db->query_read('SELECT COUNT(*) FROM ' . TABLE_PREFIX . 'user'); What? I also tried this: Code:
$membercount = $db->query_read('SELECT COUNT(*) FROM ' . TABLE_PREFIX . 'user'); $membercount = vb_number_format($membercount); ![]() I want to be able to display how many users I have registered on an external forum page so all I need is to get that mySQL query working right. Any help is appreciated. |
#2
|
||||
|
||||
![]()
Because you did a select count from the ENTIRE table, not a specific field
use $membercount[users] |
#3
|
||||
|
||||
![]()
try $db->fetch_array instead.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|