Castle Lane,
County Down
Northern Ireland
BT23 5EB

t 028 9187 8306
email us here : 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 '' at line 10
SELECT a.alt, a.caption, a.date_added, b.fileName as img, c.fileName as thumb FROM tblgallery_imgs a INNER JOIN tblfiles b ON a.fileId = b.fileId INNER JOIN tblfiles c ON a.thumbId = c.fileId WHERE a.galleryId =