Error Number: 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 '-15,15' at line 22
#WEBチラシ SELECT * , IF( Flyer_Start_Date != '0000-00-00' && Flyer_Start_Date is not NULL ,Flyer_Start_Date, Flyer_TimeStamp) as Add_Flyer_Date FROM `v4_App_Flyer` WHERE Flyer_FlagView = 1 AND ( IF( Flyer_Start_Date != '0000-00-00' && Flyer_Start_Date is not NULL ,Flyer_Start_Date <= CURRENT_DATE() , 1=1) AND IF( Flyer_End_Date != '0000-00-00' && Flyer_End_Date is not NULL ,Flyer_End_Date >= CURRENT_DATE() , 1=1) ) #会社コード AND Flyer_Company_Code = '064501' ORDER BY Flyer_Sort_num ASC,Flyer_TimeStamp DESC LIMIT -15,15
Filename: views/rwd_widget/rwd_con_flyer/con_flyer_list.php
Line Number: 55