View Single Post

  #1 (permalink)  
Old 12-06-2007
mantrid
 
Posts: n/a
Default fopen() and fgetcsv()

I am using fopen() and fgetcsv() to open an excel file and extract data for
upload to mysql database. The doesnt seem to be a parameter in either of
these functions for ommitting the first row of the excel file. I am
currently using While ...... statement to read the rows and do things with
them. Can I ommit the first line without replacing my 'While....' loop with
a 'For......' loop?

Ian


Reply With Quote