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 'D.S."" AND parentword= "" AND lng="4"' at line 1
SELECT * FROM a_tree WHERE wkey = ""D.S."" AND parentword= "" AND lng="4"