= " . $firstseason . " AND gs.gPlayoff = 0 GROUP BY gsSeason ORDER BY gsSeason ASC"; }elseif($_GET['season'] == "sings"){ $posqueryb .= " AND gs.gsSeason >= " . $firstseason . " AND gs.gPlayoff = 0 GROUP BY gsSeason ORDER BY valuetouse DESC, gsSeason ASC, gsWeek ASC LIMIT 10"; }elseif($_GET['season'] == "post"){ $posqueryb .= " AND gs.gsSeason >= " . $firstseason . " AND gs.gPlayoff = 1 GROUP BY gsSeason ORDER BY gsSeason ASC"; }elseif($_GET['season'] == "sing"){ $posqueryb .= " AND gs.gsSeason >= " . $firstseason . " ORDER BY valuetouse DESC, gsSeason ASC, gsWeek ASC LIMIT 10"; }else{ $posqueryb .= " AND gs.gsSeason = " . $usethisseason . " AND gs.gPlayoff = 0 GROUP BY gsWeek ORDER BY gsWeek"; } $posquery = mysqli_query($con,$posqueryb); while($row = mysqli_fetch_array($posquery)){ $firstname = $row['firstname']; $lastname = $row['lastname']; $coachname = $row['thecoach']; $position = $row['pos']; $oppteamabr = $row['opp']; include("../scripts/abrcleaner.php"); include("../scripts/teamcleaner.php"); if($_GET['season'] == "all" || $_GET['season'] == "post"){ $weekbuildert .= '"Season '; $weekbuildert .= $row['gsSeason']; $weekbuildert .= ': '; $weekbuildert .= strtoupper($cleanteam); $weekbuildert .= '",'; $databuildert .= round($row['valuetouse'],2); $databuildert .= ','; if($_GET['type'] == "pattcomp" || $_GET['type'] == "ptdpint" || $_GET['type'] == "rattryd"){ $databuildert2 .= round($row['valuetouse2'],2); $databuildert2 .= ','; } }elseif($_GET['season'] == "sings"){ $weekbuildert .= '"Season '; $weekbuildert .= $row['gsSeason']; $weekbuildert .= ': '; $weekbuildert .= $row['thecoach']; $weekbuildert .= '",'; $databuildert .= round($row['valuetouse'],2); $databuildert .= ','; if($_GET['type'] == "pattcomp" || $_GET['type'] == "ptdpint" || $_GET['type'] == "rattryd"){ $databuildert2 .= round($row['valuetouse2'],2); $databuildert2 .= ','; } }elseif($_GET['season'] == "sing"){ $weekbuildert .= '"Season '; $weekbuildert .= $row['gsSeason']; $weekbuildert .= ', Week '; $weekbuildert .= $row['gsWeek']; $weekbuildert .= ': '; $weekbuildert .= $row['thecoach']; $weekbuildert .= '",'; $databuildert .= round($row['valuetouse'],2); $databuildert .= ','; if($_GET['type'] == "pattcomp" || $_GET['type'] == "ptdpint" || $_GET['type'] == "rattryd"){ $databuildert2 .= round($row['valuetouse2'],2); $databuildert2 .= ','; } }else{ $weekbuildert .= '"Week '; $weekbuildert .= $counta; $weekbuildert .= ': VS '; $weekbuildert .= strtoupper($cleanoppteam); $weekbuildert .= '",'; $databuildert .= round($row['valuetouse'],2); $databuildert .= ','; if($_GET['type'] == "pattcomp" || $_GET['type'] == "ptdpint" || $_GET['type'] == "rattryd"){ $databuildert2 .= round($row['valuetouse2'],2); $databuildert2 .= ','; } } //whoa whoa whoa its magic $counta++; } ?>

<?php echo $firstname;?> <?php echo $lastname;?>
: SacksInterceptionsINT YardsINT TouchdownsINT AverageTacklesFantasy Points

404