<?
$user= array(“RefreshF5″,”eshold1″,”carlmmii”);
$previous= array(“25″,”20″,”16”);
foreach($user as $x =>$value)
{
$file=file_get_contents(“
$file_replace=str_replace(“,”,””,$file);
preg_match(“!Watched By Count:</B> </td>s+<td class=”BoardRowB”>([0-9,]+)s!s”, $file_replace, $match);
$prev=$match[1]-$previous[$x];
echo”[b] [color=red]“.$value.”[b][color=green]“.$match[1].”
}
?>
ok i have this script for something and i wnat a rank at the beginning. So i want to count the array and echo a number for how many usernames there are. So like now there are 3 usernames so it would be
1
2
3
dont know if this makes sense but HELP Please