Cole Hamels pitched eight strong innings and also hit a two-run single Wednesday as the Philadelphia Phillies beat the Arizona Diamondbacks 7-2.

Hamels (3-1) gave up a leadoff double to Willie Bloomquist in the first, then retired the next 18 batters. The left-hander allowed two runs and four hits. He struck out seven, including his final three hitters.

Hamels' single capped a five-run sixth inning. The Phillies won consecutive games to salvage a 5-5 record on their now-completed road trip.

The Diamondbacks have lost seven of nine. Trevor Cahill (1-2) gave up four runs and six hits in 5 1-3 innings.

(Copyright 2012 by The Associated Press.  All Rights Reserved.)