94: 95: return setcookie($name, $value, $expiration, $path, $domain, $secure, $http_only); 96: }My code is as follows:
$quizzes = Format::forge($export) -> to_csv(); $file_path = DOCROOT.'documents'.DS; $filename = time().'_export.csv'; File::create($file_path, $filename, $quizzes); File::download($file_path.$filename);
It looks like you're new here. If you want to get involved, click one of these buttons!