Zapytanie niepoprawne: SELECT bwa_image.name AS Iname, bwa_image.file AS Ifile, bwa_image.id AS imgID, bwa_image.file AS Ifile, bwa_image.tech AS Itech, bwa_image.name AS Iname, bwa_image.date AS Idate, bwa_artist.id AS artID, bwa_artist.Name AS Aname, bwa_artist.link AS Alink, bwa_artist.linkname AS AlinkTitle, bwa_artist.SName AS Asname, bwa_wystawa.title AS Wtitle, bwa_wystawa.cm_date AS Wdate, bwa_wystawa.cm_date_end AS Wdate_end, bwa_wystawa.id AS Wid FROM bwa_image JOIN bwa_artist_image ON bwa_image.id=bwa_artist_image.id_img JOIN bwa_artist ON bwa_artist_image.id_art=bwa_artist.id JOIN bwa_artist_wystawa ON bwa_artist.id=bwa_artist_wystawa.art_id JOIN bwa_wystawa ON bwa_artist_wystawa.wyst_id=bwa_wystawa.id WHERE bwa_wystawa.id = AND bwa_artist_image.id_wyst=bwa_wystawa.id AND bwa_artist.id =110
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 'AND bwa_artist_image.id_wyst=bwa_wystawa.id AND bwa_artist.id =110' at line 1