You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND approved = 'Y' AND fixtures.fixture_id=fixture_channel.fixture_id AND fixtur' at line 1