Hey all

It took me about 3 minutes to code this up, and if I say so myself...It works pretty damn good

Here it is:
PHP (Tags)
PHP Code:
<?php
$query_Cuentas = "SELECT * FROM (yourusertable) WHERE factionId = 'company' ";
$Cuentas = $MySQLi->query($query_Cuentas);
$totalRows_Cuentas = $Cuentas->num_rows;
?>
<?php echo $totalRows_Cuentas; ?>
Code:
Code:
<?php
$query_Cuentas = "SELECT * FROM (yourusertable) WHERE factionId = 'company' ";
$Cuentas = $MySQLi->query($query_Cuentas);
$totalRows_Cuentas = $Cuentas->num_rows;
?>
<?php echo $totalRows_Cuentas; ?>