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