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 MariaDB server version for the right syntax to use near 'ORDER BY ID desc LIMIT 1' at line 1 in /home/apartman6/public_html/_class.php:37 Stack trace: #0 /home/apartman6/public_html/_class.php(37): PDOStatement->execute() #1 /home/apartman6/public_html/_class.php(32): Database->execute() #2 /home/apartman6/public_html/_class.php(145): Database->single() #3 /home/apartman6/public_html/smestaji.php(36): Crud->getSingleWhereBy('costumers', 'ID = ', 'ID desc') #4 {main} thrown in /home/apartman6/public_html/_class.php on line 37