NEW YORK (AP) -- After being pushed around by their National League rivals for the past five seasons, David Wright and the New York Mets are refusing to give in to anyone.
The new attitude is paying off, big time.
Wright singled off Jonathan Papelbon with two outs in the bottom of the ninth inning, lifting the Mets to a 6-5 comeback victory over the Philadelphia Phillies on Thursday night that preserved R.A. Dickey's 11-game winning streak.
Mets catcher Josh Thole prevented a run in the eighth when he held on to the ball despite being barreled over at home plate. Daniel Murphy lined a shot off Papelbon's leg for the tying run with two outs in the ninth, setting the stage for Wright.
''It seems like all year we've had that never-say-die attitude, continuing to play the game no matter what the score is,'' said Wright, who had four RBIs with two outs.
Cole Hamels outlasted Dickey in a matchup of All-Stars that fizzled from the start. Hounded by recent trade rumors, Hamels pitched seven gritty innings and had two hits. But the Phillies' suspect bullpen couldn't finish off the win after beating the Mets on Wednesday night.
Ike Davis began the ninth with a double off Papelbon (2-3). Thole sacrificed pinch-runner Ronny Cedeno to third before Kirk Nieuwenhuis struck out. Papelbon then hit Jordany Valdespin with a 3-2 pitch and walked Ruben Tejada on a full-count to load the bases for Murphy.
''The way I look at it, this one's on me,'' Papelbon said. ''The team went out and grinded as hard as it could.''
Dickey pumped his fist in the dugout and Justin Turner smashed a pie in Wright's face during a postgame interview as fans chanted ''MVP!'' for the All-Star third baseman.
Wright had nine RBIs in the three game series.
Bobby Parnell (2-1) pitched the ninth for the Mets, winners of six of eight. Up next for New York: the NL Central's last place ballclub, the Chicago Cubs.
''It's feels great to win a game like this, but we have to be prepared to win tomorrow,'' Wright said. ''It would be really nice to win another series before the break.''
Wright hit a two-run homer in the fifth that gave the Mets a brief 4-3 lead and had an RBI single in the third.
Papelbon blew just his second save in 20 chances this season.
The Phillies fell to 3-9 in games decided in the last at-bat.
''It might sound like an old cliche, but the game is never over 'til it's over, like Yogi (Berra) said,'' Phillies manager Charlie Manuel said. ''You try to stay even keel. You come out the next day and chip away.''
Philadelphia tried to add on a run in the eighth when Mike Fontenot attempted to score on pinch-hitter Chase Utley's single to left. But Thole caught the throw from left fielder Scott Hairston, braced himself and kept the ball in his mitt when he was slammed into by Fontenot.
''Just hang on to the ball,'' Thole said he was thinking as Fontenot beared down on him.
Dickey matched a career high by allowing 11 hits, and perhaps gave National League manager Tony La Russa reason to end the debate over whether the knuckleballer should start the All-Star game. In his shaky final start before the break, Dickey gave up five runs - but avoided a loss for the second time in three starts. He hasn't lost since April 13 at Atlanta.
''I didn't deserve a no-decision, I deserved to lose tonight,'' Dickey said. ''The guys picked me up.''
Juan Pierre pushed a bunt up the first-base line to score Rollins with the tiebreaking run in the sixth inning after Wright put New York ahead in the fifth with a two-out, two-run homer.
Dickey is coming off one of the best months in baseball history. In winning the NL pitcher of the month award for June, he went 5-0 with an 0.93 ERA and had consecutive one-hitters. Dickey became the first starter in the 100 years of tracking ERA to allow five runs in one game and still end a month with an ERA under 1.00, according to stats provided to the Mets by the Elias Sports Bureau.
His July got off to a rocky start.
Jimmy Rollins, who was a homer shy of the cycle, walked leading off and, after two outs, Dickey hit his potential All-Star batterymate Carlos Ruiz with a pitch. Shane Victorino, a switch-hitter batting from the right side against the righty, lined an RBI single to center field for the first run against Dickey in the first inning this year.
The last time these two All-Star pitchers faced each other - in 2010 - Hamels had the Phillies' only hit off Dickey. This time, Hamels popped up a sacrifice bunt attempt in the second inning but beat it out for a single because Dickey was slow to react and his throw to first was late. Rollins then hit an RBI double.
Hairston hit his fifth home run in his 27th at-bat against Hamels, a leadoff shot in the second to pull the Mets to 2-1. Wright's RBI single an inning later tied it.
But the Phillies kept on connecting against Dickey and Hunter Pence had a run-scoring single in the fourth.
Hamels' second hit led to two runs in the sixth. He scored on Rollins' triple. Pierre's bunt gave the Phillies a 5-4 lead.
NOTES: The Mets recalled RHP Pedro Beato before the game and he got one in the eighth. ... Wright has eight game-ending hits in his career. ... Phillies GM Ruben Amaro Jr. said 1B Ryan Howard (Achilles) could join the Phillies on Friday. It all depends on how he feels after his rehab game Thursday night.