如何将交流发电机设置为其正常位置?
代码:
foreach($items as $item):
foreach($sides as $side):
echo alternator('Left', 'Right');
endforeach;
//I want the alternator to "restart" here and always start from the initial variable "Left" in this case
endforeach;
答案 0 :(得分:1)
foreach($items as $item):
foreach($sides as $side):
echo alternator('Left', 'Right');
endforeach;
alternator();
endforeach;