Is Possible To Put Javascript Variable In Php Function In For Loop

Is Possible To Put Javascript Variable In Php Function In For Loop