<?php require("forum/admin/config.php"); $db=mysql_connect($servername,$dbusername,$dbpassword); mysql_select_db($dbname); $myselect = 'SELECT COUNT(*) AS count FROM user'; $result = mysql_fetch_array(mysql_query($myselect)); echo "Registered Members ".$result['count']; ?>