i have a html form. And i want my output to be in excel sheet. Please suggest want i have to do. PHP.
views:
27answers:
2
+1
A:
You can output the values as plain text with fields separated with a character like ;
and import that in Excel as CSV.
kemp
2010-02-12 09:13:06
A:
<?php
// We'll be outputting a Excel
header('Content-type: application/xls');
// It will be called Test.xls
header('Content-Disposition: attachment; filename="Test.xls"');
echo "some Excel data";
?>
Luca Matteis
2010-02-12 09:13:08