Re: [nyphp-talk] CSV file Reading

2007-03-27 Thread Jiju Thomas Mathew
> I have to read large CSV file upto 10 MB size. I tried to read each line by > using getcsv() method, but cannot worthy. I have to make some checking the > contents of the CSV files such as any duplicate row, or any row missing > contents etc. I would consider using a temporary table, provid

Re: [nyphp-talk] CSV file Reading

2007-03-26 Thread Daniel Convissor
On Mon, Mar 26, 2007 at 07:58:50PM +0530, Aniesh joseph wrote: > > I have to read large CSV file upto 10 MB size. I tried to read each line by > using getcsv() method, but cannot worthy. I have to make some checking the > contents of the CSV files such as any duplicate row, or any row missing > co

Re: [nyphp-talk] CSV file Reading

2007-03-26 Thread Michael B Allen
On Mon, 26 Mar 2007 19:58:50 +0530 "Aniesh joseph" <[EMAIL PROTECTED]> wrote: > Hello > > > I have to read large CSV file upto 10 MB size. I tried to read each line by > using getcsv() method, but cannot worthy. I have to make some checking the > contents of the CSV files such as any duplicate r

Re: [nyphp-talk] CSV file Reading

2007-03-26 Thread Alvaro P.
You could always put the csv contents on a multi-dimensional array as you are reading each line. When you read the line, you check to see if all the data is complete, then you check against the array for duplicates, if it passes both tests, then you enter the new line into the array. I don't k

[nyphp-talk] CSV file Reading

2007-03-26 Thread Aniesh joseph
Hello I have to read large CSV file upto 10 MB size. I tried to read each line by using getcsv() method, but cannot worthy. I have to make some checking the contents of the CSV files such as any duplicate row, or any row missing contents etc. Can anybody suggests a method to read large file of