The Alabama House of Representatives has advanced legislation that would ban students from using cellphones in K-12 public schools.