Wystąpił błąd ERROR: syntax error at end of input LINE 5: where produkty.id = ^ select produkty.nazwa,produkty.cena,produkty.typ_2, t2.nazwa as linia, t3.nazwa as marka from produkty left join kategorie as t2 ON produkty.kategoria = t2.id left join kategorie as t3 ON t2.id_nadrzedne = t3.id where produkty.id =
Fatal error: Uncaught TypeError: pg_numrows(): Argument #1 ($result) must be of type PgSql\Result, null given in /home/users/strojny/public_html/lib/db_connect.php:28 Stack trace: #0 /home/users/strojny/public_html/lib/db_connect.php(28): pg_numrows(NULL) #1 /home/users/strojny/public_html/zoom.php(20): db_count(NULL) #2 {main} thrown in /home/users/strojny/public_html/lib/db_connect.php on line 28