function getstats($db){
include("./config.php");
$tbp=$info['prefix'];
$sql='SELECT * FROM accounts ORDER BY username';
$result=mysql_query($sql,$db);
//echo "
";
echo "
";
// keeps getting the next row until there are no more to get
$ii=0;
while ($row=mysql_fetch_row($result)){
echo $row;
if ($ii==0){
$name='s1';
}
if ($ii==1){
$ii=-1;
$name='s2';
}
if ($ii==2){
$ii=-2;
$name='s3';
}
if ($row[1] >= 50)
{
$str="";
}
if ($row[1] >= 100)
{
$str="";
}
if ($row[1] >= 150)
{
$str="";
}
if ($row[1] >= 200)
{
$str="";
}
//echo 'xD';
echo "