ExecuteQuery failed: SELECT photo.photoid, photo.photographerid, photo.galleryid, photo.caption, photo.filename, photo.keywords, stub, gallerystub, photo.thumbwidth, location.description FROM photo LEFT JOIN gallery ON gallery.galleryid = photo.galleryid LEFT JOIN photographer ON photographer.photographerid = photo.photographerid LEFT JOIN location ON location.locationid = photo.locationid WHERE photo.active = 1 AND photo.photographerid = '1' AND photo.locationid = 20ORDER BY IF(dateflags & 4 > 0, DATE_ADD(date, INTERVAL -100 YEAR), date) DESC
Copyright © Stephen Robson 2004-2011
browse | about | contact