Galerie

Fatal error: Uncaught exception 'PDOException' with message '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 'where id = ?' at line 1' in /home/ilkow/public_html/przedszkole/php/action.class.php:23 Stack trace: #0 /home/ilkow/public_html/przedszkole/php/action.class.php(23): PDO->prepare('SELECT * FROM g...') #1 /home/ilkow/public_html/przedszkole/php/galleries.class.php(53): DatabaseAction->getAssocRow('galleries order...', '8') #2 /home/ilkow/public_html/przedszkole/views/galerie.php(38): Galleries->getNameGal('8') #3 /home/ilkow/public_html/przedszkole/index.php(96): include('/home/ilkow/pub...') #4 {main} thrown in /home/ilkow/public_html/przedszkole/php/action.class.php on line 23