I am trying to make an array produced by PHProxy 0.5b2 show in 2 columns rather than 1. It would make my layout much nicer IF I could break that $flags array into 2 columns. Unfortunately... my PHP skillz sux and I can't figure it out ;( I believe the relevant code is the following <li> items: <?php foreach ($GLOBALS['_flags'] as $flag_name => $flag_value) { if (!$GLOBALS['_frozen_flags'][$flag_name]) { echo '<li class="option"><label><input type="checkbox" name="' . $GLOBALS['_config']['flags_var_name'] . '[' . $flag_name . ']"' . ($flag_value ? ' checked="checked"' : '') . ' />' . $GLOBALS['_labels'][$flag_name][1] . '</label></li>' . "\n"; } } ?> PHP: TIA for any solutions.
I won't write the code for you, however you can do something like $i = 0; then increment in with every iteration of the loop. Before you do the echo statement you check if $i is even or odd and depending on that you insert the output into different table cells or something to that effect.