Warning: Undefined variable $namecat in /htdocs/categories.php on line 59
Warning: Undefined variable $idcat in /htdocs/categories.php on line 62
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 `post_id` DESC LIMIT 15' at line 1 in /htdocs/categories.php:63
Stack trace:
#0 /htdocs/categories.php(63): PDO->query('SELECT * FROM `...')
#1 {main}
thrown in /htdocs/categories.php on line 63