All. I have no idea how to approach this, but I am assumming that I need to use CFCONTENT somewhere.
THE SITUATION:
I have created a CSV file upload page, with no problems, it works well!
Now what I need to do, is read the contents of the CSV file (itemdescription, value), and compare it with existing records in the database.
Easy you might say? Here is where it gets tricky!
If a itemdescription (from the CSV file) matches one already in the database (exactly), then update the value (from the CSV to the database).
If the itemdescription (in the CSV file) doesnt match exactly to whats in the database, but has a few possible matches, then add it to an array we create with details of the closest possible match(s) (which can be sorted/matched up later) on a seperate page.
Anyone done anything similar?
Anyone got any solutions?
It would all be very much appreciated!
THE SITUATION:
I have created a CSV file upload page, with no problems, it works well!

Now what I need to do, is read the contents of the CSV file (itemdescription, value), and compare it with existing records in the database.
Easy you might say? Here is where it gets tricky!
If a itemdescription (from the CSV file) matches one already in the database (exactly), then update the value (from the CSV to the database).
If the itemdescription (in the CSV file) doesnt match exactly to whats in the database, but has a few possible matches, then add it to an array we create with details of the closest possible match(s) (which can be sorted/matched up later) on a seperate page.
Anyone done anything similar?
Anyone got any solutions?
It would all be very much appreciated!
