Dexter Fowler's 13th-inning single capped a comeback from a pair of deficits Thursday and gave the St. Louis Cardinals a 4-3 victory over the New York Mets.

St. Louis trailed 2-0 in the seventh and 3-2 in the 10th. Tommy Pham had four hits and scored twice, a day after leaving a game after cutting his head with his bat while warning up in an indoor batting game. He played with a large bandage on his head.

Jose Martinez walked with one out in the 13th against Paul Sewald (0-1), took second on a single by Marcell Ozuna and scored when Fowler singled to right for his sixth game-ending RBI.

John Gant (1-0), recalled from Triple-A Memphis before the game, pitched three perfect innings of relief for his second big league win. His first was for Atlanta against the Mets on June 17, 2016.

St. Louis won its second straight against the Mets after losing the series opener in 10 innings.

New York went ahead 3-2 in the 10th when Luke Gregerson loaded the bases with a walk to Adrian Gonzalez and forced in a run with a walk to Jose Lobaton.

Pham singled with two outs in the bottom half and scored when Martinez doubled off the center-field wall against Jeurys Familia, who blew a save for the third time in 12 chances.

Mets starter Noah Syndergaard allowed two runs - one earned - and six hits in 7 1/3 innings with seven strikeouts and no walks. He retired his first 10 batters and did not allow a runner into scoring position until the seventh inning.

Cardinals starter Carlos Martinez gave up one run and four hits in six innings.

Yoenis Cespedes hit an RBI double in the first that ended Martinez's scoreless streak at 18 innings and made it 2-0 with a sacrifice fly in the seventh. His 23 RBIs are one behind NL leader Javier Baez of the Chicago Cubs.

Pham doubled leading off the seventh and scored on Marcell Ozuna's single. Greg Garcia led off the eighth with a grounder that bounced off the glove of shortstop Amed Rosario, who didn't get hit glove down and was charged with an error. Garcia advanced to third on Matt Carpenter's single against Syndergaard and scored on Pham's single off Robert Gsellman.

BEANBALLS

Martinez hit Brandon Nimmo twice and Todd Frazier once. Martinez has hit a batter in a team-record seven consecutive games dating to Sept. 26, matching Pedro Martinez and Dave Bush for the fourth-longest streak in major league history.

UP AND DOWN

RHP John Brebbia was optioned to Triple-A Memphis to make room for Gant.

TRAINER'S ROOM

Mets: Assistant hitting Coach Tom Slater served as first base coach for Ruben Amaro Jr., who was ill

UP NEXT

Mets: RHP Jacob deGrom (2-0, 2.53 ERA) start Friday at San Diego in the opener off a three-game series. DeGrom has reached double digits in strikeouts in his last two starts.

Cardinals: RHP Miles Mikolas (3-0, 3.46 ERA) starts Friday at Pittsburgh. Mikolas has walked two in 26 innings this season.

More From KHMO-AM 1070, News-Talk-Sports