A dozen students were sent to a hospital after a cellphone malfunctioned, sending out smoke and sparks.