asmith Posted January 17, 2008 Share Posted January 17, 2008 hey guys i found 3, 4 scripts on the net for "how to create an excel file" , they all require a file name "excel.php" , with the label "excel handler" . for example : require_once "excel.php"; $filename = "theFile.xls"; $export_file = "xlsfile://tmp/".$filename; $fp = fopen($export_file, "wb"); $assoc = array( array("First name" => "Mattias", "IQ" => 250, array("First name" => "Tony", "IQ" => 100, array("First name" => "Peter", "IQ" => 100, array("First name" => "Edvard", "IQ" => 100); fwrite($fp, serialize($assoc)); fclose($fp); for creating a file with excel do i really need to use this handler ? can i just create it with simple php codes ? Link to comment https://forums.phpfreaks.com/topic/86435-excel-file/ Share on other sites More sharing options...
asmith Posted January 17, 2008 Author Share Posted January 17, 2008 *BUMP* Link to comment https://forums.phpfreaks.com/topic/86435-excel-file/#findComment-442219 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.