/    Sign up×
Community /Pin to ProfileBookmark

Customize code in php

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>

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@spufiMar 04.2012 — Cross posted and I answered on the other thread.

http://www.webdeveloper.com/forum/showthread.php?t=257627
×

Success!

Help @admise78 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...