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 ''',1,0.00,0,NOW(),NOW(),NOW(),0,1,0,0,0,0,0,0,'1','0','1','1')' at line 1
Error No: 1064
INSERT INTO `ocbm_product` (`product_id`,`quantity`,`sku`,`upc`,`ean`,`jan`,`isbn`,`mpn`,`location`,`stock_status_id`,`model`,`manufacturer_id`,`image`,`shipping`,`price`,`points`,`date_added`,`date_modified`,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) VALUES (17,1,'','','','','','','',0,'MOD-17',,'',1,0.00,0,NOW(),NOW(),NOW(),0,1,0,0,0,0,0,0,'1','0','1','1');
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
This is a SQL syntax error for ', please write (int) for integer values and $this->db->escape() for string values.
For Example :
Code: Select all
$this->db->query("INSERT INTO `". DB_PREFIX ."table` SET `product_id` = '". (int) $product_id ."', `name` = '". $this->db->escape($name) ."' ");
Please try storing data by above way, if you have any queries do write us here.
https://cedcommerce.com/opencart-servic ... edium=post
Thanks & Regards :
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool
Users browsing this forum: No registered users and 7 guests