Section Sql = SELECT * FROM `sections` WHERE `id` = '23'
Product Sql = SELECT products.* FROM `products` INNER JOIN `sections` ON products.section = sections.id WHERE products.section = '23' AND products.showonweb = 'Yes' AND sections.showonweb = 'Yes' ORDER BY `sort`, `name`

Northern Ireland Coasters from ShonaD