The Phillies dropped two of three against the Giants this weekend, losing the first two games before getting a walkoff win on a Rollins single in the tenth yesterday afternoon.

In the series opener, Worley started the sixth with the score tied 1-1. Brandon Crawford hit a grand slam off of him in a five-run frame and the Giants went on to win 7-2. Hamels took a 5-4 lead into the eighth in game two, but San Francisco tied things up on a solo shot by Melky Cabrera and won it 5-4 in the tenth when Cabrera scored on Gregor Blanco’s bunt.

Yesterday Blanton pitched well, Mayberry homered twice and the Phils won 4-3 on walkoff single by Rollins.

After going 4-1 in their first five games to start the second half, the Phils are 1-3 over their last four.

The Phils lost the first two games in the set due mostly to shaky starting pitching. Hamels and Worley combined to allow 11 earned runs in 13 2/3 innings. Blanton was good yesterday, though, and the Phils got an outstanding performance from their wretched bullpen as their relievers combined to throw four scoreless innings in the game.

The Phillies are 42-54 on the year after beating the San Francisco Giants 4-3 in 12 innings yesterday. The Giants take the series two games to one. The Phillies are in last place in the NL East, 14 games out of first place.

Blanton got the start for the Phillies and went eight innings, allowing three runs on seven hits and a walk. Five of the hits went for extra-bases, three doubles and a walk. He struck out six.

Second good outing in a row for Blanton. He has allowed five runs over 16 innings his last two times out and gone eight innings in each start.

Nate Schierholtz was the first batter of the game and he hit a 2-0 pitch from Blanton out to right, putting the Giants up 1-0. Blanton struck out Ryan Theriot before Melky Cabrera doubled to left. Buster Posey grounded to third and Pablo Sandoval flew to center to leave Cabrera stranded.

The game was tied at 1-1 when Blanton set San Francisco down in order in the second. He struck out Angel Pagan, got Brandon Crawford on a ground ball to first and Brandon Belt on a fly ball to right.

Blanton got pitcher Barry Zito and Schierholtz and Theriot behind him in a 1-2-3 third.

Posey singled with one out in the fourth and scored when Sandoval followed with a double to center, putting the Giants up 2-1. Pagan and Crawford both grounded out to leave Sandoval stranded.

It was 2-2 when Blanton set San Francisco down in order in the fifth and again in the sixth.

Pagan singled with one out in the seventh, but was caught stealing before Crawford flew to center for the third out.

Blanton got the first two hitters in the eighth with the Phils up 3-2 — Gregor Blanco hit for Zito and struck out swinging for the second out after Belt grounded to short for the first out. Schierholtz was next, though, and he homered again, hitting a 2-1 pitch out to left to put the Giants back up at 3-2. Theriot followed that with a double and Blanton walked Theriot intentionally. Posey flew to right on a running basket catch by Pence on the warning track to leave both runners stranded.

Bastardo stuck out the side in a 1-2-3 ninth.

Bastardo was pitching for the second day in a row after getting one out in game two of the set. He’s allowed one hit while striking out six in three scoreless innings over his last five appearances, dropping his ERA on the year from 5.34 to 4.83.

Horst struck out the lefty Belt for the first out in the tenth. Righty Justin Christian hit for the pitcher Sergio Romo and singled to center. The lefty Schierholtz flew to Pence for the second out and Kendrick took over to face the righty Theriot. Christian stole second before Theriot fouled out to Ruiz to end the frame.

Horst has a 1.12 ERA and a 1.00 ratio after nine appearances.

Kendrick walked Sandoval with two outs in the eleventh. Pagan flew to left to leave him stranded.

Crawford doubled to center off of Kendrick to start the twelfth. Kendrick struck out Belt on a bunch of pitches off the plate for the first out. Switch-hitter Emmanuel Burriss hit for the pitcher Clay Hensley and Kendrick struck him out on a bunch of pitches off the plate for the second. Kendrick walked the lefty home run machine Schierholtz intentionally to put two men on for Theriot. Theriot flew to left to leave them both stranded.

Another outstanding bullpen performance from Kendrick. His last start was on July 6. Since then he has appeared four times in relief and thrown 5 2/3 scoreless innings. That’s an enormous boost for a terrible bullpen.

Overall the pen went four scoreless innings in the game, allowing two hits and two walks while striking out six. Kendrick threw 40 pitches, so don’t expect to see him anytime soon. Bastardo threw 13 pitches in the game and has thrown two days in a row. Horst threw 12 pitches.

The Phillies lineup against lefty Barry Zito went (1) Rollins (2) Victorino (3) Utley (4) Howard (5) Pence (6) Polanco (7) Mayberry (8) Kratz. Utley and Howard both in the lineup against the lefty. Mayberry in lefty and Kratz catching the day game for Ruiz.

Down 1-0 in the bottom of the first, Victorino walked with one out and scored on a triple to right center from Utley. 1-1. Howard was hit by a pitch, but Pence grounded into a double-play to end the inning.

Both lefties reach base against Zito in the frame. Phils don’t score again after putting a man on third with one out.

The Phils went in order in the second.

Blanton and Rollins singled back-to-back to start the third, putting runners on first and second with nobody out. Victorino flew to center for the first out. Utley grounded to first with Rollins forced at second for the second. Utley stole second before Howard struck out swinging to leave the runners on second and third.

No run for the Phils after putting two men on with nobody out to start the inning.

Down 2-1, Pence and Polanco went down to start the fourth before Mayberry hit a 3-2 pitch out to left. 2-2. Kratz flew to left to set the Phillies down.

The Phils went in order in the fifth.

Pence reached on a throwing error by Sandoval with two outs in the sixth. Polanco grounded to third for the third out.

Mayberry hit the first pitch he saw in the seventh inning out to left for his second home run of the day, putting the Phillies up 3-2. The Phils went in order behind him.

Second multi-homer game of Mayberry’s career. The other was July 6, 2011.

Lefty Javier Lopez started the bottom of the eighth with the game tied at 3-3. Victorino led off with a single, but Utley hit into a double-play behind him. Howard struck out swinging for the third out.

Polanco singled off of righty Sergio Romo with one out in the ninth. Mayberry struck out for the second out. Ruiz hit for Kratz and flew to right for the third.

Lefty Jeremy Affeldt set the Phillies down in order in the tenth. Nix, double-switched into the game in the top of the inning, struck out swinging for the first out.

First at-bat for Nix since May 9. His injury hurt the Phillies, forcing Mayberry and Wigginton to get way more at-bats against righties than they should have. Mayberry is hitting 208/272/272 against righties for the year in 136 plate appearances. Wigginton 247/293/361 in 181. That’s really not what you’re looking for from first basemen or corner outfielders.

Pence singled off of Affeldt with two outs in the eleventh. Righty Clay Hensley came in to pitch to Polanco and got him on a ground ball to third for the third out.

Righty Brad Penny started the twelfth for the Giants. Wigginton hit for Kendrick and hammered a ball to right, but Schierholtz took it running into the wall in right for the first out. Ruiz followed that with a walk and moved to third when Nix singled into right. Rollins was next and lined a single into center, scoring Ruiz to give the Phils a 4-3 win.

Rollins was 2-for-6 with an RBI in the game. 3-for-14 with a walk and three singles in the series. 256/313/409 for the year. Hitters batting #1 in the lineup for the Phillies have on-based .318 for the season, which is ninth-best in the NL.

Victorino 1-for-4 with a walk. 3-for-12 with a walk in the series. 253/317/387 for the season.

Utley 1-for-5 with a triple and an RBI. 3-for-12 with a triple and a home run in the set. On-basing .231 so far against lefties (in 26 plate appearances). 231/292/400 in 72 plate appearances for the year.

Howard 0-for-4 and struck out three times. 2-for-11 with a walk and two home runs in the series. 182/325/485 in 40 plate appearances.

Pence 1-for-5 with a strikeout. 1-for-12 with a walk in the series. 5-for-his-last-39 (.128). 271/338/457 for the season.

Polanco 1-for-5 to drop his average to .255 on the year. 2-for-9 with a walk and a double in the series. 255/300/328 for the season. 6-for-his-last-49 (.122) with three walks and a double. 211/265/322 against lefties for the season.

Mayberry 2-for-4 with two solo home runs. 2-for-5 in the series. 237/274/397 on the year. Seven of his eight home runs have come against lefties and about 43% of his plate appearances. 208/272/272 against righties and 273/277/556 against lefties. Among the 95 NL players with 75 plate appearances against lefties for the season, Mayberry’s isolated power of .283 is ninth-best and tops among the Phillies.

Kratz was 0-for-3 and struck out twice. 2-for-10 on the year with two home runs.

Halladay (4-5, 3.96) faces lefty Randy Wolf (3-6, 5.60) tonight. Halladay allowed two runs in five innings against the Dodgers in his first start since returning from the DL. Righties are hitting 330/379/533 against Wolf for the season.