A commercial airliner with 128 passengers and crew made an emergency landing in Florida because smoke was detected in the cabin.

The Spirit Airlines plane landed safely Tuesday afternoon at Daytona Beach International Airport, about 150 miles away from its intended destination of Fort Lauderdale.

The Airbus plane took off from Chicago.

Stephen Cooke, the airport's director of business development, said three passengers were taken to a hospital for treatment of smoke inhalation. No other injuries were reported.

Spirit Airlines spokeswoman Misty Pinson the smoke dissipated once the plane's engines were turned off. The airline put the passengers on another plane.