Beat the Streak
2015 Champion: Riney Outlaw Express
echo " Week $week1 Results in $weekrace" ; ?>
Pos |
Name |
Score |
Selection |
Pts |
Bonus |
include ("db.php");
$btsquery=mysql_query("SELECT *,score+bonus as total FROM 2016btsseasontotals WHERE wk=$week1 Order by total DESC ") ;
$position_current = 0;
$position_count = 0;
$points_current = 0;
while ($row=mysql_fetch_array($btsquery)) {
//Set position count
$position_count++;
if ($points_current !== $row['total']) {
//New position
$points_current = $row['total'];
$position_current = $position_count;
}
//Display the current position
echo "$position_current |
{$row['name']} |
{$row['total']} |
{$row['selection']} |
{$row['score']} |
{$row['bonus']} |
";
}
echo " " ;
?>
|
/* - - - - - - - - - - - - - - - - - - - - - - -
Include PHP
Saturday, January 05, 2018
HAPedit 3.1.11.111
- - - - - - - - - - - - - - - - - - - - - - - */
$btsdbname="seasonstandings";
?> Season Standings
(After Week 13)
Pos |
Name |
Points |
1 | ARA Racing | 189 | 2 | Chuck L Head | 185 | 3 | Nathaniel Carruthers | 122 | 4 | lowmac300 | 118 | 5 | the plow | 117 | 6 | Real Late Model Fan | 108 | 6 | Stormdevil | 108 | 8 | mwsteinf | 102 | 9 | Fly low-Fly fast | 86 | 10 | Scott mincey | 85 | 11 | Draftpack3_88 | 84 | 12 | Evarts Motorsports | 82 | 13 | ronblackman | 79 | 14 | Paul Charpentier | 78 | 14 | Joanne Reilley | 78 | 16 | Minnesota Motor Heads | 71 | 17 | mrbest | 67 | 18 | tomcatcrowd | 54 | 19 | Britten Steinfels | 52 | 19 | champ24 | 52 | 21 | John Reilley | 38 | 22 | Rusty Steger | 33 | 23 | JG4TMR | 30 | 24 | okiewoman | 28 | 25 | Rusty Leroy Steger | 26 | 26 | scrbowler | 15 | 27 | Purple 10 | 11 | 28 | Purple10 | 7 | 29 | David Baartman | 6 | 30 | Duffdrinker | 0 | 30 | scrbower | 0 | |
|