Re: Datagrid Renderer csv and automatic file saving

From: Date: Tue, 28 Nov 2006 12:20:58 +0000
Subject: Re: Datagrid Renderer csv and automatic file saving
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25934@lists.php.net to get a copy of this message
David Sanders írta:
$renderOptions = array(
    'buildHeader' => false,
    'filename'    => time().'_'.$finished_id.'.csv'
); $csv = $datagrid->render(DATAGRID_RENDER_CSV, $renderOptions); file_put_contents('/web/folder/file.csv',$csv); Thanks a lot. The cvs version is working perfectly.
ZoTyA

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