US STOCKS-Apple pushes S&P 500 to record close; Boeing hits Dow
* Apple rallies after results, boosting tech names
* Boeing falls despite higher profit, weighing on Dow
* Biotechs rally for fourth straight session
* Dow down 0.2 pct; S&P 500 up 0.2 pct; Nasdaq up 0.4 pct (Updates to close)
By Ryan Vlastelica
NEW YORK, July 23 (Reuters) - U.S. stocks ended mostly higher on Wednesday, with the S&P 500 closing at a record on Apple's bullish results, though Boeing weighed on the Dow and conflicts in Ukraine and the Gaza Strip kept the broader market's gains in check.
Biotech stocks ranked among the day's biggest gainers, boosted by some strong results and drug trial data. The Nasdaq Biotech index jumped 2.2 percent in its fourth straight day of gains.
Apple Inc gave one of the biggest lifts to the market, rising 2.6 percent to $97.19 as concerns faded about the iPhone maker's margins. Dow component Microsoft Corp rose 0.1 percent to $44.87 after the company said it aimed to get its money-losing Nokia phone unit to break even within two years.
"Earnings season has been going very well, beating on both the top and bottom line, which suggests companies will continue to execute well," said Alan Gayle, senior investment strategist at RidgeWorth Investments in Atlanta. Continuación...