Notice: Undefined index: d in /home/ytparty/exchange_goods.php on line 379

Notice: Undefined index: t in /home/ytparty/exchange_goods.php on line 380
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM `ytpartycom`.`ecs_exchange_goods` AS eg, `ytpartycom`.`ecs_goods` AS g WHERE eg.goods_id = g.goods_id AND eg.is_exchange = 1 AND g.is_delete = 0 AND (g.cat_id IN ('0','264','275','477','476','478','479','812','623','488','485','1009','480','486','481','648','957','764','674','932','731','487','739','484','279','704','514','757','1021','756','701','379','711','518','515','709','519','512','516','513','754','755','656','490','710','520','517','276','497','494','491','504','501','498','495','492','505','502','499','496','493','506','503','500','277','507','278','689','624','508','625','509','510','511','18','290','400','405','406','752','402','653','401','403','408','409','410','412','424','425','1015','413','414','411','415','416','417','420','421','423','398','293','431','474','692','787','693','250','249','404','758','759','287','39','760','984','988','286','529','530','528','283','521','522','946','947','429','532','533','469','534','703','81','288','780','531','650','285','526','523','527','524','525','282','536','537','535','257','272','729','554','551','558','555','552','671','559','556','553','560','557','273','561','658','538','548','549','550','547','270','433','462','463','795','434','435','437','442','446','432','461','460','890','761','778','567','788','732','271','451','452','564','450','562','563','24','59','330','540','322','66','541','63','60','319','67','64','61','328','652','65','544','62','74','381','938','78','75','543','996','79','76','430','707','614','70','678','71','979','380','50','651','56','53','649','248','332','57','54','51','647','246','58','55','321','926','52','684','80','333','927','244','73','338','339','336','386','628','337','1047','69','335','673','82','334','375','426','654','685','686','613','936','952','376','77','797','683','798','895','708','705','730','377','986','645','1069','642','639','646','643','640','644','641','951','382','475','888','885','886','889','672','545','383','878','875','876','877','874','384','884','881','882','883','880','542','385','846','859','843','840','856','869','872','871','866','838','862','857','854','863','865','873','860','844','839','841','870','837','868','849','850','867','851','852','864','855','861','845','842','853','847','848','858','1025','1029','1026','1030','1027','1028','28','942','962','969','963','960','970','964','961','965','968','966','967','539','575','572','234','691','1024','576','242','702','661','573','829','879','990','574','622','378','687','681','660','669','659','662','723','670','777','682','663','665','664','666','667','668','570','325','112','259','834','776','998','825','800','1061','615','1067','1052','775','925','1031','728','1014','578','592','1020','1038','589','773','997','785','586','688','948','740','1078','978','679','774','1006','594','627','985','1036','826','620','584','581','697','591','766','588','1053','585','1065','617','892','796','579','596','928','971','972','973','695','698','583','929','582','599','601','602','1046','600','1072','603','991','597','1057','1002','1054','1070','1051','893','904','943','975','832','1071','920','1055','976','941','830','1056','784','977','1008','799','1060','1075','696','782','901','590','587','790','1037','827','712','789','1039','1041','611','1045','1042','616','1043','1040','690','1050','1066','1044','770','772','989','1079','771','896','903','900','897','898','934','1076','899','1000','1077','395','727','724','718','725','719','722','726','720','721','801','922','831','919','828','982','923','917','921','918','1019','802','598','1074','626','762','604','621','933','813','765','999','605','783','944','1059','1068','606','945','595','629','767','607','636','633','630','608','637','634','1010','1062','631','609','700','638','635','632','1022','1023','1034','1032','368','750','748','675','743','1035','1058','747','677','744','716','706','680','745','742','980','836','676','1033','694','655','612','891','749','935','260','809','816','820','817','821','818','819','811','823','824','822','808','814','815','955','974','987','956','1003','981','1073','792','794','779','939','1017','1018','1001','810','258','299','394','301','307','269','302','268','1013','252','212','931','930','327','714','833','699','902','983','940','1016','992','995','1063','1064','994','356','464','465','466','467','791','546','949','916','958','959','950','1048','953','915','1049','912','1012','913','909','937','1011','906','914','911','908','910','1007','907','1005','1004') OR g.goods_id IN ('136','148','202','298','301','310','314','324','343','356','387','394','410','1493','1589','1607','1634','1646','1659','1662','1679','1686','1699','1717','1767','1768','1793','1817','1845','1854','1869','1870','1883','1885','1887','1893','1979','2021','2022','2036','2084','2119','2136','2204','2251','2279','2286','2300','2645','2734','2792','2813','2814','2960','2974','2979','3010','3016','3019','3030','3032','3044','3045','3048','3051','3055','3064','3065','3081','3083','3091','3094','3102','3105','3106','3108','3109','3110','3113','3115','3117','3122','3123','3124','3125','3127','3128','3130','3133','3134','3156','3162','3196','3231','3232','3238','3257','3265','3286','3288','3290','3326','3719','3818','3883','3889','3890','3892','3927','3929','3930','3931','3932','3933','3936','3949','3968','3981','3988','4033','4040','4121','4122','4130','4153','4158','4221','4319','4329','4374','4378','4422','4593','4594','4595','4596','4619','4622','4623','4719','4721','4724','4725','4735','4744','4748','4750','4774','4793','4844','4858','4913','4974','5068','5094','5146','5182','5236','5260','5281','5297','5309','5332','5710','5714','5727','5782','5826','5832','5864','5961','5966','5967','5976','6191','6235','6236','6278','6282','6305','6309','6315','6339','6378','6379','6391','6406','6414','6415','6417','6418','6419','6560','6565','6568','6569','6570','6571','6579','6581','6582','6583','6589','6593','6612','6613','6614','6617','6624','6668','6669','6670','6703','6704','6757','6758','6759','6760','6761','6762','6773','6774','6775','6776','6794','6843','6844','6898','6946','6975','6987','6988','6989','7002','7008','7088','7094','7097','7110','7112','7115','7134','7135','7203','7205','7206','7217','7271','7288','7333','7335','7337','7364','7366','7368','7372','7375','7376','7388','7389','7390','7445','7459','7499','7529','7538','7554','7555','7579','7583','7584','7590','7592','7593','7606','7607','7609','7610','7612','7626','7656','7658','7659','7660','7669','7670','7676','7761','7781','7811','7812','7813','7920','7970','8081','8091','8132','8375','8463','8483','8484','8487','8571','8609','8677','8701') ) AND eg.exchange_integral between and ) [2] => Array ( [error] => 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' at line 1 ) [3] => Array ( [errno] => 1064 ) )