hi,
What I would like to do is count the ammount of users in the users db,
the db is users.inc.php
here is the script used to call up the user's details:
<?php
$userlist = file("users.inc.php");
for ($i=1; $i<count($userlist); $i++) {
list($n,$p,$a,$e,$g,$s,$m,$a1,$a2) = explode(':',chop($userlist[$i]));
if ($n == $user) {
echo "";
}
}
?>
What do I put in to count the users in the file, and desplay it?