Re: Excel to MySql

From: Date: Tue, 15 Aug 2000 01:45:56 +0000
Subject: Re: Excel to MySql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11718@lists.php.net to get a copy of this message
Hi Tijmen, You could save the Excel data into a comma- or tab-delimited text file, then use the LOAD DATA INFILE command in MySQL to pull it into the table. The MySQL side would look like: mysql> LOAD DATA INFILE "csv-file-name.txt" INTO TABLE table-name > FIELDS TERMINATED BY ',' > LINES TERMINATED BY '\n' > ; cheers, curt Tijmen Hennink wrote: > > Hello, > > I'm looking for a tool that can import excel into mysql. > > With regards, > > Tijmen > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11718) next »