mysqli_query("SELECT * FROM `log_message` WHERE `device`='11' ORDER BY `time` DESC LIMIT -99, 100;")
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 '-99, 100' at line 1