fputcsv() error message

From: Date: Tue, 19 Oct 2004 17:37:02 +0000
Subject: fputcsv() error message
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199812@lists.php.net to get a copy of this message
Fatal error: Call to undefined function: fputcsv() in /home/webdev/sites/tracking_site/scripts/report.php on line 19 Is there something that I am missing? The code that I had entered in: <?php $list = array ( 'aaa,bbb,ccc,dddd', '123,456,789', '"aaa","bbb"' ); $fp = fopen('file.csv', 'w'); foreach ($list as $line) { fputcsv($fp, split(',', $line)); } fclose($fp); ?>

« previous php.general (#199812) next »