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 nome_loja' at line 1 in /home/outletpremium.com.br/public/php/funcoes.php:529
Stack trace:
#0 /home/outletpremium.com.br/public/php/funcoes.php(529): PDOStatement->execute(Array)
#1 /home/outletpremium.com.br/public/lojas.php(184): func_pdo_select(Object(PDO), 'tab_lojas', '*', 'fk_id_shopping ...', '', 'nome_loja')
#2 {main}
thrown in /home/outletpremium.com.br/public/php/funcoes.php on line 529