By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

Exporting Html using php to Excel with multiple worksheets

P: 7
I embed this on top of my pages:

header("Content-Type: application/vnd.ms-excel");

This makes it so my page downloads as Excel...

However, I want more than one worksheet.
Apr 27 '07 #1
Share this Question
Share on Google+
1 Reply


100+
P: 136
Hi,
using different header type will produce output in non-HTML format. but if u need Excel file with multiple worksheets u need to use some excel writer script. u can use PEAR - Excel writer for this purpose.

I embed this on top of my pages:

header("Content-Type: application/vnd.ms-excel");

This makes it so my page downloads as Excel...

However, I want more than one worksheet.
susen
Apr 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.