Hi All

I noticed that when I parse Excel (xls) files like

Code:
//http://sourceforge.net/projects/phpexcelreader
$reader = new Spreadsheet_Excel_Reader();
$reader->setUTFEncoder('iconv');
$reader->setOutputEncoding('UTF-8');

$reader->read( $file );
$this->colnames = array_shift($reader->sheets[0]['cells']) ;
I noticed that the first record can represent column names or data. So the question is how to detect this ?

cheers
Luca