Time : 06:53:51 SQLSTATE[42000]: Syntax error or access violation: 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 1 Raw SQL : select ipaddress from p_customers where customerid= Time : 06:53:35 SQLSTATE[42000]: Syntax error or access violation: 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 1 Raw SQL : select ipaddress from p_customers where customerid= Time : 06:48:27 SQLSTATE[42000]: Syntax error or access violation: 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 1 Raw SQL : select productid,productName,category from product where category= Time : 05:40:37 SQLSTATE[42000]: Syntax error or access violation: 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 'PAGENO=,DUMMYPAGENO=,UPDATEDDATE='2017-11-06 11:10:37' where SUBORDERSID=18750' at line 1 Raw SQL : update suborders set TARRIF='10',AMOUNT=' 2200',discount='45',discountamount='990',netamount='1210',MAGZINEEDITIONS='159',ISPAGEFIX=,PAGENO=,DUMMYPAGENO=,UPDATEDDATE='2017-11-06 11:10:37' where SUBORDERSID=18750