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 Naziv LIMIT 2000' at line 1 in /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/_class.php:37
Stack trace:
#0 /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/_class.php(37): PDOStatement->execute()
#1 /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/_class.php(73): Database->execute()
#2 /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/_class.php(197): Database->resultset()
#3 /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/proizvod.php(10): Crud->getAllWhereByCustom('proizvodi_slike', 'IDGalerije = ', 'Naziv')
#4 {main}
thrown in /www/webvol3/08/hg39961cyndp1sc/intercoolerhose.com/public_html/_class.php on line 37