Search the Community
Showing results for tags 'category'.
I want to display 10 products from each category from database, I started to display the categories but how to make displaying the products from each one. Here is the code I make so far. I'm not sure am I doing it right with doble sql select , or it can be done only with one. <div class="inner shadow"> <?php $query = 'SELECT id, title_bg AS `title_cat` FROM categories'; $result = $this->db->query($query); ?> <?php foreach ($re
Hello Community, I have some diffuclties about getting the right logic for article management with subcategories. So everything with Categorys is fine. TABLE: articles articleID title content cat_relatedID TABLE: categories catID cat_name On submit it Works fine where in "selection option" I can select the Category for that post. Now I want to extend it with subcategories. TABLE: articles articleID title content cat_relatedID TABLE: categories catID cat_name TABLE: subcategories subcatID subcat_name related_
I am developing a eCommerce website for college semester project,but i am facing a problem with product variant. I want to create different variant and feature depending on products category with filtration. Example: http://www.flipkart.com/mobiles/samsung~brand/pr?sid=tyy,4io&otracker=ch_vn_mobile_filter_Top%20Brands_Samsung Please help me how to create table and fetch the data. Thanks...