Orlando, FL (SportsNetwork.com) - Brandon Knight had 28 points, seven assists and three steals in the Phoenix Suns' 105-100 win over the Orlando Magic on Wednesday.

Markieff Morris added 23 points and six rebounds for the Suns, who snapped a two-game losing streak. P.J. Tucker tallied 19 points and five boards.

"It was a good win and we needed it, but it shouldn't have been like it was," Tucker said. "We should come out full of energy in a game like this when we've lost close games."

Victor Oladipo ended with a career-high 38 points on 15-of-25 shooting for the Magic, who have lost four in a row. Nikola Vucevic and Tobias Harris contributed 18 and 11 points, respectively.

Phoenix outscored Orlando by a 34-17 margin in the third quarter to take a 77-69 lead. Marcus Morris then opened the fourth with a 3-pointer to make it an 11-point contest.

The Suns held a 97-89 margin before Oladipo went on a personal 7-0 run, making a 3-pointer and two layups. Phoenix maintained a one-point edge after Markieff Morris and Vucevic traded baskets.

Knight missed a layup but Eric Bledsoe came down with the offensive rebound. The Suns went 6-of-6 from the line in the final 13.2 seconds to secure the victory.

"We've got to find out a way to come out better in the second half," Oladipo said. "We've got to put a whole game together if we want to win games."

The Magic jumped out to a 52-37 lead with 58 seconds remaining in the first half. However, Phoenix scored the next six points to get within 52-43 at the break.

Trailing 59-55, the Suns used an 11-0 surge to take the lead. The visitors shot 60 percent from the floor in the third en route to a 77-69 advantage.

Game Notes

Bledsoe ended with 13 points, nine assists, seven rebounds and three steals for the Suns, who went 23-of-27 from the foul line ... The Magic announced Wednesday that guard Devyn Marble is expected to be sidelined 4-to-6 weeks with a detached retina in his left eye.