Display Products within a category
i have a dynamic category page. page is attached.
i used .htaccess to change url link.
i want to display products in dynamic category page.
ei. if CategoryID=1 from productcategories then display products within the open category..
product-details.php & category-details.php are dynamic page.
From products page when i click on category name page link appears to be as : .../categories/category-name (this is exactly how i wanted)
Now currently on category-detail page i used following codes in RS:
SELECT *
FROM products
WHERE ProductCategoryID = colnamez
& colnamez as : $row_categories['CategoryID']
But this doesn't work. no products are displaying.
Regards