Query failed : SELECT id FROM `accommodation` WHERE `approved` = 1 AND (`town` LIKE '%Stroud' OR `village` LIKE '%Stroud' ) AND `breaks`=1 Unknown column 'breaks' in 'where clause'