Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY ID desc LIMIT 1' at line 1 in /home/hmga0719/apartmanivikendice.com/_class.php:37 Stack trace: #0 /home/hmga0719/apartmanivikendice.com/_class.php(37): PDOStatement->execute() #1 /home/hmga0719/apartmanivikendice.com/_class.php(32): Database->execute() #2 /home/hmga0719/apartmanivikendice.com/_class.php(145): Database->single() #3 /home/hmga0719/apartmanivikendice.com/smestaji.php(36): Crud->getSingleWhereBy('costumers', 'ID = ', 'ID desc') #4 {main} thrown in /home/hmga0719/apartmanivikendice.com/_class.php on line 37