[PHP] CSV importer tool

2012-11-27 Thread Leandro Dardini
Hello, I am going to write a PHP page to allow the client to upload a CSV file and assign each column to one or more fields of a mysql table. Quite simple, but I feel like I am reinventing the wheel... is it possible there is no library to do it, maybe using AJAX or similar cute techniques? Leandr

Re: [PHP] CSV importer tool

2012-11-27 Thread Jim Lucas
On 11/27/2012 12:56 PM, Leandro Dardini wrote: Hello, I am going to write a PHP page to allow the client to upload a CSV file and assign each column to one or more fields of a mysql table. Quite simple, but I feel like I am reinventing the wheel... is it possible there is no library to do it, may

Re: [PHP] CSV importer tool

2012-11-27 Thread Leandro Dardini
Thank you, but I was looking for a "cute" code... letting the user to swap columns, ignore others, set the number of rows to initially jump, preview data... Leandro 2012/11/27 Jim Lucas > php csv importer script

Re: [PHP] CSV importer tool

2012-11-27 Thread Ashley Sheridan
On Tue, 2012-11-27 at 23:03 +0100, Leandro Dardini wrote: > Thank you, but I was looking for a "cute" code... letting the user to swap > columns, ignore others, set the number of rows to initially jump, preview > data... > > Leandro > > 2012/11/27 Jim Lucas > > > php csv importer script It s

Re: [PHP] CSV importer tool

2012-11-27 Thread tamouse mailing lists
On Tue, Nov 27, 2012 at 2:56 PM, Leandro Dardini wrote: > Hello, > I am going to write a PHP page to allow the client to upload a CSV file and > assign each column to one or more fields of a mysql table. Quite simple, > but I feel like I am reinventing the wheel... is it possible there is no > lib

Re: [PHP] CSV importer tool

2012-11-27 Thread tamouse mailing lists
On Tue, Nov 27, 2012 at 4:09 PM, tamouse mailing lists wrote: > On Tue, Nov 27, 2012 at 2:56 PM, Leandro Dardini wrote: >> Hello, >> I am going to write a PHP page to allow the client to upload a CSV file and >> assign each column to one or more fields of a mysql table. Quite simple, >> but I fee

Re: [PHP] CSV importer tool

2012-11-27 Thread tamouse mailing lists
On Tue, Nov 27, 2012 at 4:11 PM, tamouse mailing lists wrote: > On Tue, Nov 27, 2012 at 4:09 PM, tamouse mailing lists > wrote: >> On Tue, Nov 27, 2012 at 2:56 PM, Leandro Dardini wrote: >>> Hello, >>> I am going to write a PHP page to allow the client to upload a CSV file and >>> assign each co