Page 1 of 1

Font size of text that will be written using php pack functi

Posted: Fri Sep 21, 2007 6:46 am
by rohitsing.pardeshi
Hi All
I am just converting the data from database to excel format.For that i am using pack function of php . But i want some data to be in bold like Employee Name = ABC
How to do that .Will anybody help me
:roll:
Regards
Rohit

Posted: Fri Sep 21, 2007 7:21 am
by xpgeek
Hmm.
What lib do you use to create excel format?

I think you create CSV file.

Please add a code here.

check out this site

Posted: Fri Sep 21, 2007 7:23 am
by yacahuma
check out this site

http://www-128.ibm.com/developerworks/o ... -phpexcel/


but in general you will need a special library to create a real excel , not just a csv.

Re: check out this site

Posted: Fri Sep 21, 2007 7:34 am
by xpgeek
yacahuma wrote:check out this site

http://www-128.ibm.com/developerworks/o ... -phpexcel/


but in general you will need a special library to create a real excel , not just a csv.
I think it is not good solution to write excel by hand.

For writing excel i recommended Pear Excel Writer