Beat the Streak
2015 Champion: Riney Outlaw Express
$year=2016;
$week1=5;
$lastweek=$week1-1;
$weekrace="Auto Club";
?>
Paul Charpentier uses his selection of Jimmie Johnson to take the checkers
at Auto Club Speedway. Lyzard followed up in second for the week also with a pick of Jimmie Johnson. Congratulations Paul!!! |
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 5)
Pos |
Name |
Points |
1 | Paul Charpentier | 49 | 2 | Real Late Model Fan | 47 | 2 | ARA Racing | 47 | 4 | Chuck L Head | 46 | 5 | mwsteinf | 45 | 6 | Nathaniel Carruthers | 41 | 7 | mrbest | 34 | 8 | Joanne Reilley | 33 | 9 | Fly low-Fly fast | 32 | 10 | Scott mincey | 31 | 11 | Evarts Motorsports | 30 | 11 | Stormdevil | 30 | 11 | the plow | 30 | 14 | Draftpack3_88 | 27 | 15 | Minnesota Motor Heads | 26 | 16 | Britten Steinfels | 24 | 17 | lowmac300 | 21 | 17 | Rusty Steger | 21 | 19 | tomcatcrowd | 20 | 20 | JG4TMR | 15 | 20 | Rusty Leroy Steger | 15 | 20 | scrbowler | 15 | 20 | ronblackman | 15 | 24 | Purple 10 | 11 | 25 | John Reilley | 7 | 25 | Purple10 | 7 | 27 | David Baartman | 6 | 27 | champ24 | 6 | 29 | Duffdrinker | 0 | 29 | okiewoman | 0 | |
|