*** SELECT p.id, p.data_utworzenia as stamp, FROM_UNIXTIME(p.data_utworzenia, '%d-%m-%Y') as data_utworzenia, p.nazwa_pl, p.nazwa_en, p.dane_pl, p.dane_en, p.opis_skrocony_pl, p.opis_skrocony_en, p.opis_pl, p.opis_en, p.tlo, COALESCE(z.plik,'') AS zdjecie FROM obiekt p LEFT JOIN zdjecie z ON (z.obiekt_id=p.id AND z.kolejnosc=1) WHERE p.id='2' ORDER BY p.data_utworzenia ***

Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/pst/public_html/gogo/lib/sql_inc.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /home/pst/public_html/gogo/lib/sql_inc.php:18) in /home/pst/public_html/gogo/lib/common_inc.php on line 149