Beat the Streak
2015 Champion: Riney Outlaw Express
$year=2016;
$week1=3;
$lastweek=$week1-1;
$weekrace="Las Vegas";
?>
Stormdevil, Ronald e. Burger, Batfan1960, Paul Charpentier & jeffnieser all used their selection of race winner Brad Keselowski for a share of P10 BTS victory lane in Las Vegas.
RoushFan673 and teeder jenkins lead the streak catagory, both sitting with a 3 week streak.
|
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 3)
Pos |
Name |
Points |
1 | mwsteinf | 34 | 2 | Joanne Reilley | 33 | 3 | Paul Charpentier | 27 | 4 | Scott mincey | 25 | 4 | Fly low-Fly fast | 25 | 6 | Rusty Steger | 21 | 7 | mrbest | 19 | 8 | the plow | 15 | 8 | Minnesota Motor Heads | 15 | 8 | ronblackman | 15 | 8 | Evarts Motorsports | 15 | 8 | Stormdevil | 15 | 8 | lowmac300 | 15 | 8 | Real Late Model Fan | 15 | 8 | Chuck L Head | 15 | 16 | Nathaniel Carruthers | 14 | 17 | Britten Steinfels | 13 | 18 | tomcatcrowd | 9 | 19 | John Reilley | 7 | 19 | Purple10 | 7 | 21 | ARA Racing | 6 | 21 | champ24 | 6 | 23 | okiewoman | 0 | 23 | Draftpack3_88 | 0 | 23 | JG4TMR | 0 | 23 | Purple 10 | 0 | 23 | Duffdrinker | 0 | 23 | scrbowler | 0 | |
|