+++ DB-Error. file/pos =queries.php/4607.
SELECT SQL_CACHE
Artwork.ID,
Artwork.Title,
Artwork.Caption,
Artwork.Year,
Artwork.Technique,
Artwork.Width,
Artwork.Height,
Institution.Name as instname,
Institution.ID as instid
FROM
Artwork
left join ArtworkPromotion on Artwork.ID=ArtworkPromotion.ArtworkID
left join Institution on ArtworkPromotion.InstitutionID=Institution.ID
where
Artwork.ArtistID=627;
and ArtworkPromotion.ProjectID=6
order by
Year desc 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 ArtworkPromotion.ProjectID=6
order by
Year desc' at line 16+++ DB-Error. file/pos =artworksart.php/209.
SELECT DISTINCT
ArtpriceImgs.Artist,
ArtpriceImgs.Title,
ArtpriceImgs.Caption,
ArtpriceImgs.ImageLink,
ArtpriceImgs.ImageHeight,
ArtpriceImgs.ImageWidth,
ArtpriceImgs.Link
FROM
ArtpriceImgs
WHERE
ArtpriceImgs.PeopleID = 627; AND
ArtpriceImgs.Language = "en"
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
ArtpriceImgs.Language = "en"' at line 12
|