the working mysql version is:
Code: Select all
SELECT * FROM order_total WHERE order_id = 123 AND code = "shipping";
Code: Select all
("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int)$order_id . "' . " AND code = 'shipping'");
Code: Select all
SELECT * FROM order_total WHERE order_id = 123 AND code = "shipping";
Code: Select all
("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int)$order_id . "' . " AND code = 'shipping'");
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 14 guests