Section Sql = SELECT * FROM `sections` WHERE `id` = '49'
Product Sql = SELECT * FROM `products` WHERE `section` = '49' AND `showonweb` = 'Yes' ORDER BY `sort` , `name`

Keyrings from ShonaD