You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and (title2 like 'somethingimpossible0%') and (eos >= 4) and (episode <=4) ' at line 1 Are you being served?s=9, Episode 4 x04 Greek Subtitles | TvSubtitles.gr