Let's say the manufacturer_id you wanted to work with was 1. Here's what the query would look like:
If you wanted to do this by name, you could, but it would require some joins.Code:UPDATE products SET products_model = CONCAT("GHD-",products_model) WHERE manufacturers_id = 1;


Reply With Quote

