Re: insert into mysql-db from csv-file

From: Date: Tue, 18 Jan 2005 08:04:11 +0000
Subject: Re: insert into mysql-db from csv-file
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-38197@lists.php.net to get a copy of this message
Hi John,
I want to read a csv-file and import the datas into a mysql-db. How do I make this. A little scriptexaple in php would be helpfull.
Why not just LOAD DATA INFILE from MySQL? No need to involve PHP at all, really... I think the command you also can write in the mysql_db_query-Command.
The problem the insertprocedure must be able via webbrowser. Regards, Ruprecht

« previous php.db (#38197) next »