Floyd pitched five innings and allowed four earned runs on five hits and three walks. He struck out Andruw Jones twice, once with runners on second and third with nobody out. The Braves scored four runs off Floyd in the fifth, leading to his exit with the Phillies trailing 4-2.
Aaron Fultz (4-0) came on to pitch the sixth and had perfect timing. The Phillies tied the game in the bottom of the fifth when with two outs, Jimmy Rollins doubled and scored on a base hit by Kenny Lofton. Chase Utley then doubled and Lofton scored to make it a 4-4 game.
Foltz got the win with just one inning of work, when the Phillies scored a go-ahead run in the bottom of the sixth. Ryan Howard, who earlier launched his 17th homerun of the season, doubled and scored on a single by Mike Lieberthal as the Phillies took a 5-4 lead.
Rollins' double in the fifth extended his hitting streak to 19 games, the longest by a Phillie since Lenny Dykstra hit in 23 straight in 1990.
The night's action left the Phillies a game behind Florida in the wild card race and six games behind the Braves in the division standings.