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 livro.ordem asc' at line 1 in /home/balint/public_html/source/Models/Revista/Revista.php:30 Stack trace: #0 /home/balint/public_html/source/Models/Revista/Revista.php(30): PDO->query('select * from l...') #1 /home/balint/public_html/cont/livros.php(4): source\Models\Revista\Revista->listLivros(NULL) #2 /home/balint/public_html/verifica_page.php(8): require('/home/balint/pu...') #3 /home/balint/public_html/index.php(68): require_once('/home/balint/pu...') #4 {main} thrown in /home/balint/public_html/source/Models/Revista/Revista.php on line 30