[DB処理エラー]_SELECT count(*) FROM estate WHERE (line1 in() or line2 in() or line3 in()) and ((''<>toho1 and toho1 <= 3) or (''<>toho2 and toho2 <= 3) or (''<>toho3 and toho3 <= 3)) and (equipment like '%:56:%' ) and display='1'
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 ') or line2 in() or line3 in()) and ((''<>toho1 and toho1 <= 3) or (''<>toho2 and' at line 1