Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-05-2009, 02:58 AM #1
- Join Date
- Jul 2009
- Gangtok, Sikkim
- Thanked 1 Time in 1 Post
Format Excel file Generated from PHP Code
I have been developing a simple php file which can generate a Calc file (Calc is like Excel for Linux). Although, we have many pre-built classes like Spreadsheet_Excel_Writer already available, I wish to develop my own. After all, we are here to learn right?
So, I have a simple tab delimited data outputted as calc file (or .xls file) like:
header("Content-Disposition: attachment; filename=report.xls");
I tried :
echo "<b>Jack</b>\t"; //***...etc, i.e. using html tags for bold
also I tried embedding picture file by :
echo "<img src='jack.jpg />";
Could you turn me toward the right direction?"There are a thousand people in this world who are better at what you are best" ...atheistrical