www.webdeveloper.com
Results 1 to 2 of 2

Thread: Customize code in php

  1. #1
    Join Date
    Mar 2012
    Posts
    3

    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>

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    Cross posted and I answered on the other thread.

    http://www.webdeveloper.com/forum/sh...d.php?t=257627

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles