Javascript How Can I Solve Php Checkbox Loop For Each Field Problem

Javascript How Can I Solve Php Checkbox Loop For Each Field Problem