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