Two loops on different pages do the same thing, but only one page works

Two loops on different pages do the same thing, but only one page works

tech