SELECT `idx`, `file_name`, `real_file_name`, `file_size`, `file_extension`, `file_width`, `file_height` FROM `board_file` WHERE `idx`= AND `del_flag`='n' AND `image_type`='sub' ORDER BY `idx` ASC
There is an error in the transmitted query.
ERROR_CODE 1064 : 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 `del_flag`='n' AND `image_type`='sub' ORDER BY `idx` ASC' at line 1