Click here to Skip to main content
12,697,801 members (27,044 online)
Rate this:
Please Sign up or sign in to vote.
See more: PHP
must in\n
tab of excel record";
$contents = strip_tags($contents); 
header("Content-Disposition: attachment; filename=WebinfopediaDemoExcelExport".date('d-m-Y').".csv");
print $contents;

output:- Record3 must in single tab of record in excel...
please help..
Posted 21-Nov-12 1:58am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Mister Yogesh 22-Nov-12 0:52am
Thank you sir for above reply..
i have one another problem also which is:-
shall i add multiple style sheets in generated .csv report...
plz reply this question also
Joan Murt 22-Nov-12 3:55am
No idea on how this can be done, sorry. Apart of that, it is truly completely unclear that you need that in your question. Probably you won't receive an answer on that given the question you've posted. My recommendation would be to update your other questions that seem to refer to the same issue.
PS: I've seen that you've got downvoted. Probably it is due your small explanations and to the reposting (reposting here is considered evil so try not to do it).
Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100