How to validate csv file ?

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-03-15T20:42:37Z Indexed on 2010/03/15 20:49 UTC
Read the original article Hit count: 223

Filed under:
|

How can we validate a CSV file ?

I have an CSV file of structure:

Date;Id;Shown
15-Mar-10;231;345
15-Mar-10;232;346
and so on and on !!! approx around 80,000 rows. 

How can I validate this CSV file before starting the parsing using fgetcsv ?

© Stack Overflow or respective owner

Related posts about csv

Related posts about php