SELECT * FROM `board_data` WHERE `idx`= AND `del_flag`='n'
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 MariaDB server version for the right syntax to use near 'AND `del_flag`='n'' at line 1