Connecting Tech Pros Worldwide Help | Site Map

easiest way to upload a file to a MySql database

  #1  
Old July 17th, 2005, 03:15 PM
windandwaves
Guest
 
Posts: n/a
Hi Folk

I want my clients to load up a file to a MySql database. The file should
contain rows with

name, email, address, city

What would be the easiest way (in terms of the big picture), to get them to
upload it and put it in a mysql database?

Just let me know if you have any hints on how to go about this? (should
they use excel, or a text file, do you reject the whole file if there is an
error, etc... etc....)

TIA

- Nicolaas


  #2  
Old July 17th, 2005, 03:15 PM
Tim Van Wassenhove
Guest
 
Posts: n/a

re: easiest way to upload a file to a MySql database


On 2005-07-17, windandwaves <winandwaves@coldmail.com> wrote:[color=blue]
> Hi Folk
>
> I want my clients to load up a file to a MySql database. The file should
> contain rows with
>
> name, email, address, city
>
> What would be the easiest way (in terms of the big picture), to get them to
> upload it and put it in a mysql database?
>
> Just let me know if you have any hints on how to go about this? (should
> they use excel, or a text file, do you reject the whole file if there is an
> error, etc... etc....)[/color]

Read http://dev.mysql.com/doc/mysql/en/load-data.html

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
know when user tries to access php file Daniel answers 4 October 25th, 2007 10:45 AM
Automated file upload to mysql database shahram.shirazi@gmail.com answers 2 December 19th, 2005 12:15 PM
Project Design Advice john answers 1 July 17th, 2005 02:29 PM
Using PHP to migrate data from shared Access db to MySQL Phil Powell answers 5 July 17th, 2005 07:57 AM