I have a PHP list on my website, but it is only 1 column:
<?
$lines=file('pages/clans.txt');
sort($lines);
foreach($lines as $line)
{$page_clans=explode(';',$line,2);
if(count($page_clans)!=2)
die("Database corrupted");
echo'<a target="_blank" href="'.$page_clans[1].'">
'.htmlspecialchars($page_clans[0]).'</a><br/>';
}
?>
I would like to make that list 2 columns, and still in alphabetical order. i.e. A to M in the first column, and then the second column starting in the middle of the page from N to Z.
Any help very appreciated,
Thanks.