<?php $col = 0; foreach (range(1,100) as $num) { echo $num; if (++$col == 3) { $col = 0; echo "\n"; } else { echo ', '; } }
You have javascript disabled. You will not be able to edit any code.