Just a little thing i made that allows you to select a database, a table within the database, upload a .csv File and add it to that table.
Its not pretty but give me your comments on what should be added.
Says there's too many fields, but they are the same. Also curious if you have the option of changing the delimiter and if it erases the current info or just adds to it. Pretty smooth otherwise.
Hey thanks for your feedback. it was a quick thing i made when i needed to get a CSV file from a client with over 10000records so its messy and was only meant for that situation.
On the other hand where is this too many fields error coming into it, its been a while since ive been required to use this..
I'll have to check it again tonight. I think what's going on is my CSV has a tiny blob w/a comma in it and the script thinks that means a new field has formed .. so it moves everything over and then I get the error that the fields don't match up.
Ill probably make it a class if i get time to update it will probably fix that error, and yes i see what you mean as well.
Here's a great site to help with converting from CSV to MySQL >>>
www.ceo4u.com/data
nothing like dredging up an old topic.... two years old..... but otherwise pretty nice....