$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
$venue=substr($rowvalue, $starter+12, $amount-12);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_first_name=substr($rowvalue, $starter+9, $amount-9);
If($team==0)$away_first_name=substr($rowvalue, $starter+9, $amount-9);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_last_name=substr($rowvalue, $starter+10, $amount-10);
If($team==0)$away_last_name=substr($rowvalue, $starter+10, $amount-10);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_throwing_hand=substr($rowvalue, $starter+14, $amount-14);
If($team==0)$away_throwing_hand=substr($rowvalue, $starter+14, $amount-14);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_wins=substr($rowvalue, $starter+6, $amount-6);
If($team==0)$away_wins=substr($rowvalue, $starter+6, $amount-6);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_losses=substr($rowvalue, $starter+8, $amount-8);
If($team==0)$away_losses=substr($rowvalue, $starter+8, $amount-8);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_era=substr($rowvalue, $starter+5, $amount-5);
If($team==0)$away_era=substr($rowvalue, $starter+5, $amount-5);
}
If(strpos($rowvalue, “
$starter=strpos($rowvalue, “
$stopper=strpos($rowvalue, “
$amount=$stopper-$starter;
If($team==1)$home_so=substr($rowvalue, $starter+4, $amount-4);
If($team==0)$away_so=substr($rowvalue, $starter+4, $amount-4);
$team–;
}
}
echo $away_first_name . ” ” . $away_last_name . ” (” . $away_throwing_hand . “) (” . $away_wins . “-” . $away_losses . “, ” . $away_era . ” ERA, ” . $away_so . ” K) @ ” . $home_first_name . ” ” . $home_last_name . ” (” . $home_throwing_hand . “) (” . $home_wins . “-” . $home_losses . “, ” . $home_era . ” ERA, ” . $home_so . ” K)
“.$gametime.” EST @ “. $venue;
?>
Post Game Update
Zach Duke didn’t have a strong start tonight. He gave up 11 hits and 6 runs in 6 innings. Still the Pirates managed to score 2 runs in the 6th thanks to triples from Andrew McCutchen and Freddy Sanchez. Nyjer Morgan and Adam LaRoche each hit sacrifice flies to score McCutchen and Sanchez. Jaramillo, Wilson, Hinske, and McCutchen hit four consecutive hits in the 7th to score 3 runs and tie the game.
The Pirate bullpen pitched remarkably well in innings 7 through 14. Tom Gorzelanny, John Grabow, Sean Burnett, Steven Jackson, Jesse Chavez, and Evan Meek (3 innings!) all kept the Bucs in the game. Jeff Karstens entered for the bottom of the 15th inning, and he surrendered 2 walks and 2 hits, and Matt Diaz knocked in the winning run.
This was a tough loss for the Pirates tonight. Bobby Cox got his 2,000th win as a Braves manager. Nate McLouth hit a HR in his first game against the Pirates. Luckily, Andrew McCutchen is playing great, although is defense could use some work.
Since Karstens came into the game in relief tonight, we may see Charlie Morton enter the starting rotation soon.
Tonight’s game also brought up a minor bug in my scoresheet. I’ve known that there is currently a serious limitation in the scoresheet. Each team can only have 63 plate appearances. As I finished the scoresheet, I breathed a sigh of relief when the Pirates finished with 62 plate appearances and the Braves finished with 63. The minor bug occurred when a team had exactly 63 plate appearances. I’ll post an update shortly.
Live Updates:
$amount=$stopper-$starter;
$good_stuff=substr($rowvalue, $starter+13, $amount-14);
if($starter>$teamchange)$home=1;
$inningarray[$counter]=$inning;
$homearray[$counter]=$home;
$playarray[$counter]=$good_stuff;
$starterarray[$counter]=$starter;
$counter++;
$starter=$starter+1;
}
}
array_multisort($inningarray, $homearray, $starterarray, $playarray);
$loopcount=0;
$currentinning=0;
$currenthalf=1;
while($loopcount
echo(“
Inning $inningarray[$loopcount]
“);
$currentinning++;
}
if($homearray[$loopcount]!=$currenthalf){
if($homearray[$loopcount]==0){echo(“
Away
“);$currenthalf=0;}
if($homearray[$loopcount]==1){echo(“
Home
“);$currenthalf=1;}
}
echo($playarray[$loopcount].”
“);
$loopcount++;
}
?>