select *, if(date_format(bd_endday, '%Y-%m-%d 23:59:59') > now(), '1', '0' ) as dday_timeOff from board_data_table where b_code ='b61' and bd_country_code = 'kr' and bd_main = 'yes' and bd_depth = '0' and of_id = 'ekoreannews' order by dday_timeOff desc, bd_rank asc, bd_endday asc, bd_thread desc, bd_idx asc limit 0,
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 '' at line 2
error file : /board_list_Col_PGT_zFullScrollLoad-infinite-module.php