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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rohitsing.pardeshi
Forum Newbie
Posts: 2
Joined: Thu Sep 20, 2007 12:19 am

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

Post 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
User avatar
xpgeek
Forum Contributor
Posts: 146
Joined: Mon May 22, 2006 1:45 am
Location: Kyiv, Ukraine
Contact:

Post by xpgeek »

Hmm.
What lib do you use to create excel format?

I think you create CSV file.

Please add a code here.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

check out this site

Post 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.
User avatar
xpgeek
Forum Contributor
Posts: 146
Joined: Mon May 22, 2006 1:45 am
Location: Kyiv, Ukraine
Contact:

Re: check out this site

Post 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
Post Reply