SQL=
SELECT c.gallery_name,b.sub_name, a.photo_name, a.image_large,a.w,a.h
FROM gallery_photo a
INNER JOIN gallery_sub b ON b.sub_id=a.sub_id
INNER JOIN gallery c ON c.gallery_id=b.gallery_id
WHERE photo_id=;

		
Error=
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 5

Script:
/gallery/launch.php?photo_id=208