Hello everyone,

The below code display main categories horizontally at the footer of the website. It's classified ads site. How do I modify the below code to display country name in similar horizontal way. please help!!!

</div>
<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();
$i=1;
foreach($cat_Arr_fotter as $keyfoot=>$valfoot){
$html_link_foot=SITE_WS_PATH."/".GetValidFileName(Rec_display_formate($cat_Arr_fotter[$i]['catName']))."-".$cat_Arr_fotter[$i]['catId'].".htm";
//SITE_WS_PATH;/classified-listing.php?catId=<?=$cat_Arr_fotter[$i]['catId'];
?>
<a href="<?=$html_link_foot;?>" class="link">
<?=ucfirst($cat_Arr_fotter[$i]['catName']);?></a> |
<? $i++; } ?></p>