Original geschrieben von onemorenerd
"Mit ohne doppelt WHERE".
"Mit ohne doppelt WHERE".
UPDATE products SET products_price = products_price * 1.1 WHERE products_price >= 20 AND products_price < 50
update products set products_price = products_price * 1.1 where products_price <20
update products set products_price = products_price * 1.1 where products_price <20
tep_db_query("update " . TABLE_PRODUCTS . " set products_price = products_price * " . $HTTP_POST_VARS["action_5"] . " WHERE products_price
< ". $HTTP_POST_VARS["action_5"] ." ");
Einen Kommentar schreiben: