Updated

PHILADELPHIA (AP) — Adrian Gonzalez homered and drove in three runs, Chase Headley had four hits and the San Diego Padres beat the Philadelphia Phillies 6-5 Sunday on pinch-hitter Oscar Salazar's two-out infield single in the 10th inning.

Nick Hundley also homered for the Padres, who scored three times in the first against Joe Blanton. But the Phillies came right back behind Ryan Howard's three RBIs to take a 5-3 lead and chase starter Kevin Correia in the second.

Headley opened the 10th with a single off Danys Baez (2-2) and advanced to third on a sacrifice and a grounder to second. After an intentional walk to Tony Gwynn Jr., Salazar singled deep into the shortstop hole to put the Padres ahead 6-5.

Heath Bell got through a shaky 10th inning for his 15th save in 18 chances. Placido Polanco singled with one out, but was thrown out at third by Gwynn trying to advance on Chase Utley's single. Howard also singled to put runners at the corners, but Jayson Werth struck out on a 97 mph fastball to end the game.

Mike Adams (1-1) pitched two scoreless innings for the win, after Philadelphia had won the first two games of a four-game series that concludes Monday. The Phillies left 15 runners on base.

San Diego scored three first-inning runs off Blanton, with two coming on Gonzalez's 11th homer. A two-out single by Matt Stairs drove in Headley for the third run.

Philadelphia scored once in the bottom half, then took advantage of San Diego's poor defense and Correia's control lapses to take the lead in a four-run second.

Raul Ibanez began the inning with a walk ahead of Brian Schneider's fly to center. Juan Castro chopped a ball to shortstop Jerry Hairston Jr., who stepped on second but threw low to first, preventing an inning-ending double play.

Blanton singled, Shane Victorino walked to load the bases and Polanco tied the game with a two-run single. A walk to Utley loaded the bases again for Howard, who lined a shot to a perfectly positioned Lance Zawadzki in short right, but the ball clanged off the second baseman's glove and was ruled a hit, allowing two more runs to score.

San Diego scored a run in the fourth on Gonzalez's two-out single and tied it at 5 on Hundley's homer leading off the fifth.

NOTES: Padres outfielder Will Venable didn't start and is still experiencing the effect of a sore neck, sustained while sliding into third base on Friday. ... Schneider's seventh-inning double was his first extra-base hit of the season.