Re: CSV.php question

From: Date: Thu, 06 Jun 2002 05:56:56 +0000
Subject: Re: CSV.php question
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1588@lists.php.net to get a copy of this message
"F.Thiel" wrote: > > >What about that (not tested code): > > > ><?php > >require 'File/CSV.php'; > >$file = 'your_csv_file'; > >$conf = File_CSV::discoverFormat($file); > >$i = 0; > >while($row = File_CSV::read($file, $conf)) { > > if ($i++ == 1) { > > row2HTML($row); > > continue; > > } > > if ($row[0] == 234) { > > row2HTML($row); > > break; > > } > >} > > > >function row2HTML($row) { > > print '<tr><td>'.$row[0].'<...; > >} > >?> > > Hello Tomas, > now i do get this ErrorMessage: > > Fatal error: Call to undefined function: getstaticproperty() in > e:\htdocs\projekte\File.php on line 120 Hi Frank, Try updating your copy of PEAR.php file. Tomas V.V.Cox

« previous php.pear.general (#1588) next »