Results 1 to 2 of 2
Aug 16, 2007, 03:56 #1
- Join Date
- Jul 2006
- 0 Post(s)
- 0 Thread(s)
Upload .CSV file and use its contents to create a db table
I'm building a multi language website and would like some help with a problem
When the user wishes to update or add a new language I give them the option to download the db table as a .csv file, which I have got working
what i'd like to do now is create a from with an upload file field which then reads the .csv file and recreates the db table.
creating the form to upload the file is not a problem, but its once the file is uploading how to handle it and create the sql to create the table with the new values.
would anybody have any links or resources to where I might be any to find a solution???
Aug 16, 2007, 07:38 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 112 Post(s)
- 1 Thread(s)
Maybe you're looking for LOAD DATA INFILE ??
There are many scripts online, google - "php csv importer"10 Rules for Driving Traffic Using Forums | Ultimate SEO Checklist
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum