Modify/create Csv Import Code
I have a CSV import file (import.php, attached) that was used to import data into my existing mysql database. I have a new code file that creates an export (export.csv attached) that needs to be used for the import again once the data has been revised.
The current code in import.php (provided for reference or use) uses a different csv file. So there are things happening in this file that does not need to happen with the new csv file. So what I want is a simpler import file written. Before we were converting values to names etc. That does not need to happen with the new import.
Since the export comes from the database, is modified, then all I need to do is have a script that will simply import in back in again. With whatever checking is needed to make sure it was done correctly and sucessfully etc. Just good code practices.
The one thing that needs to be considered is that all of the records that were exported may not be imported and that there may be new records in the import. If record id 23 was exported and modified then it should update record with id 23. Not add a new record.
You are free to choose to modify the existing import or create a new one. please stipulate when bidding which you prefer to do.


