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

Irish Writer Coasters from ShonaD