Chyba v dotazu - PDOStatement::errorInfo(): Array ( [0] => 42000 [1] => 1064 [2] => 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 `objektu` = 1' at line 1 ) SQL dotaz: select * from `soubory` where `id_patri` = AND `objektu` = 1 ;Chyba v dotazu - PDOStatement::errorInfo(): Array ( [0] => 42000 [1] => 1064 [2] => 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 `objektu` = 1' at line 1 ) SQL dotaz: select * from `soubory` where `id_patri` = AND `objektu` = 1 ;