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 'AND active='1' AND apercu='0' ORDER BY ordre DESC' at line 1 in /homepages/39/d292432958/htdocs/functions/globalFunctions.php:50
Stack trace:
#0 /homepages/39/d292432958/htdocs/functions/globalFunctions.php(50): PDO->query('SELECT * FROM f...')
#1 /homepages/39/d292432958/htdocs/fiches.php(28): getFiches('categorie', '')
#2 {main}
thrown in /homepages/39/d292432958/htdocs/functions/globalFunctions.php on line 50