A law banning students from having or using cell phones during school in Kansas takes effect Wednesday.