1 (edited by 2014-05-09 10:40:55)

Topic: Categorization BUG

hi all.

i want to call news with category id but when i write  category variable in php it shows me all news not by category.
any ideas?

Code that i use
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>            <?php
                switch(getLang())
                {
                    case"ka":
                        $category = "4";
                        break;
                    case"ru":
                        $category = "6";
                        break;
                    case"en":
                        $category = "5";
                        break;
                    default:
                        $category = "4";
                        break;
                }
                include("/home/sakautog/public_html/news/show_news.php");
            ?></div>

i find out that ucat variable isnt working for me

http://sak-auto.ge/service?ucat=3&amp;?lang=en


but here it works http://sak-auto.ge/news/example.php?cat=6