I have a mysql table with product number, price, description etc..
A customer gave me an Excel speadsheet with new prices.
I was able to create a new table, and import the contents of the spreadsheet.
So now I have a table with old prices and a table with new prices. Here is an example:
Table 1 contains productid, oldprice
Table 2 contains productid, new price
I have to update the prices in Table 1 with the prices in Table 2
In my PHP script, I'm able to select the fields from multiple tables using the productid as the join, but how to I do the update.
Thanks,
Gisele