NYCPHP Meetup

NYPHP.org

[nycphp-talk] CSV file Reading

Jiju Thomas Mathew lists at silmail.com
Tue Mar 27 06:34:04 EDT 2007


>
> > 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, provided we have to finally
address an sql database.
If we could pass LOAD INFILE.. statement to a temp table, and then use sql
queries, that would
be less painful for us, as well as our server, it is my assumption.

-- 
Jiju Thomas Mathew
http://www.php-trivandrum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070327/bb604a66/attachment.html>


More information about the talk mailing list