Beat the Streak
2016 Champion: Go Left Dale
$year=2017;
$week1=1;
$lastweek=$week1-1;
$weekrace="Daytona";
?>
Tough week on the restrictor plate track this week. Lots of the popular
picks were found outside of the top 10 from one circumstance to
another. When it was all said and done, mrbest had the best hand with his
selection of race winner Denny Hamlin. Congratulations Lebron!!
echo " Week $week1 Results in $weekrace" ; ?>
Pos |
Name |
Score |
Selection |
Pts |
Bonus |
include ("db.php");
$btsquery=mysql_query("SELECT *,score+bonus as total FROM 2017btsseasontotals 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 1)
Pos |
Name |
Points |
1 | Real Late Model Fan | 73 | 1 | ARA Racing | 73 | 3 | Chuck L Head | 72 | 4 | Paul Charpentier | 70 | 5 | Nathaniel Carruthers | 62 | 6 | Fly low-Fly fast | 50 | 7 | Draftpack3_88 | 47 | 8 | Stormdevil | 46 | 8 | Minnesota Motor Heads | 46 | 10 | the plow | 45 | 10 | mwsteinf | 45 | 12 | Joanne Reilley | 42 | 13 | Evarts Motorsports | 41 | 14 | Britten Steinfels | 39 | 15 | lowmac300 | 37 | 16 | mrbest | 34 | 17 | Scott mincey | 31 | 18 | ronblackman | 30 | 19 | Rusty Leroy Steger | 26 | 20 | Rusty Steger | 21 | 21 | champ24 | 20 | 21 | tomcatcrowd | 20 | 23 | JG4TMR | 15 | 23 | scrbowler | 15 | 25 | Purple 10 | 11 | 26 | okiewoman | 10 | 27 | John Reilley | 7 | 27 | Purple10 | 7 | 29 | David Baartman | 6 | 30 | Duffdrinker | 0 | |
|