How would I get the total number of Accounts/Characters created from a MySQL Database?
Thanks in advance!
Printable View
How would I get the total number of Accounts/Characters created from a MySQL Database?
Thanks in advance!
mysql_num_rows();
Try that.PHP Code:$count = mysql_query("SELECT count(*) FROM users");
$count = mysql_fetch_array($count);
echo $count[0];