It says there is a problem with SQL, but to me it is good + if i put it in the phpmyadmin it is executed without problems.
INSERT INTO `searches`
(`anagram`,`q`,`ip`,`min`,`max`,`game`)
VALUES ('anagrams','WORD','1.1.1.1',2,15,'game')
“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 ”anagrams’,…………”
Also if i try to execute it in solo command like below and put the quoted query in $q_ it seems to work
$db->query($q_);
So basically it works at some place of app and doesn’t work at other place but the sql is same…