Hi,
I would like a PHP script to read the contents from a CSV file in the following format
id, sku
1,104101
2,105213
there are a total of 1486 entries, I believe that it's better to use a for loop instead of while !EOF.
After that, I would like to perform SQL query on a database named m118, table catalog_product_entity.
The query would be like UPDATE sku=$csvSku WHERE id=$csvId
Being a novice at both PHP and MySQL, I do not know where to start coding.