Section Sql = SELECT * FROM `sections` WHERE `id` = '40'
Product Sql = SELECT products.* FROM `products` INNER JOIN `sections` ON products.section = sections.id WHERE products.section = '40' AND products.showonweb = 'Yes' AND sections.showonweb = 'Yes' ORDER BY `sort`, `name`
Number of products found: 8
© Shona Donaldson 2024 | Privacy