Section Sql = SELECT * FROM `sections` WHERE `id` = ''
Product Sql = SELECT products.* FROM `products` INNER JOIN `sections` ON products.section = sections.id WHERE products.section = '' AND products.showonweb = 'Yes' AND sections.showonweb = 'Yes' ORDER BY `sort`, `name`
Sorry there are currently no products to be found in this section
© Shona Donaldson 2024 | Privacy