I have classified site. The below link displays the main categories horizontally at the bottom of the site. I would to accomplish the same thing with name of countries, having the countries name horizontally listed at the footer as well. here's the code below...

<div style="margin:0 15px 0 15px;" class="box-head ac">
<p class="mt10 bot_link b"><span class="blue-heading">Categories : </span>
<?php $cat_Arr_fotter=main_cat_array();
foreach($cat_Arr_fotter as $keyfoot=>$valfoot){
<a href="<?=$html_link_foot;?>" class="link">
<?=ucfirst($cat_Arr_fotter[$i]['catName']);?></a> |
<? $i++; } ?></p>

please help!!!