am nevoie sa modific preturile , asffel incat sa fie crescute toate cu 5%. Eu am facut direct din bd. astfel
Code: Select all
$this->db->query("UPDATE `" . DB_PREFIX . "product` SET price = 'price*(5/100+1)'WHERE product_id = '" . (int)$product_id . "'");
dar am o eroare..
unde gresesc
