this bit of code
PHP Code:
<?php
for ($i=1$i<=6$i++) {
    echo 
"<div>";
    echo 
"<label for='file".$i."'>Image ".$i.":</label>";
    echo 
"<input type='file' name='file".$i."' id='file".$i."'></div>";
    echo 
"\r\n";
}
?>
which produces
HTML Code:
<div><label for='file1'>Image 1:</label><input type='file' name='file1' id='file1'></div> 
<div><label for='file2'>Image 2:</label><input type='file' name='file2' id='file2'></div> 
<div><label for='file3'>Image 3:</label><input type='file' name='file3' id='file3'></div> 
<div><label for='file4'>Image 4:</label><input type='file' name='file4' id='file4'></div> 
<div><label for='file5'>Image 5:</label><input type='file' name='file5' id='file5'></div> 
<div><label for='file6'>Image 6:</label><input type='file' name='file6' id='file6'></div>
but would like it to instead produce
HTML Code:
<div><label for='file1'>Image 1:</label><input type='file' name='file1' id='file1'></div> 
<div><label for='file2'>Image 2:</label><input type='file' name='file2' id='file2'></div> 
<div><label for='file3'>Image 3:</label><input type='file' name='file3' id='file3'></div> 
</div><div class="column">
<div><label for='file4'>Image 4:</label><input type='file' name='file4' id='file4'></div> 
<div><label for='file5'>Image 5:</label><input type='file' name='file5' id='file5'></div> 
<div><label for='file6'>Image 6:</label><input type='file' name='file6' id='file6'></div>
How do I change that if statement so I can split up the 6divs in h alf?

Thanks