FORT LAUDERDALE, Fla. -

Two swimmers were rescued from rip currents on Fort Lauderdale Beach on Tuesday, as the National Weather Service issued a warning of a high rip current risk.

Matt Little, a spokesman for the city of Fort Lauderdale, said a 65-year-old man and a 15-year-old girl were both caught in rip currents near Tower 13.

Two on-duty lifeguards and and off-duty lifeguard rescued the swimmers from the water.

Both swimmers were taken to Broward General Hospital, Little said.

The National Weather Service issued a warning of a high rip current risk through Tuesday evening for Miami-Dade, Broward and Palm Beach counties. Rip currents are powerful channels of water that can drag swimmers away from shore.

Officials with the Weather Service advised swimmers to stay out of the water and to pay attention to the advice of lifeguards and flags flying at lifeguard stands.

Ocean Rescue was flying yellow flags at Fort Lauderdale Beach on Tuesday, indicating a moderate risk of rip currents.

Swimmers who get caught in a rip current are advised to stay calm and swim parallel to shore. Once they are free of the rip current, they can start swimming back to the beach. Officials sad swimmers should not try to swim directly against the flow of the current, because this can quickly lead to exhaustion.