Error in MySQL query - select image,img_w,img_h,img_type from where imageid=''