Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2008, 01:10 PM
Junior Member
 
Join Date: May 2008
Posts: 9
Default Generate Excel file in Zend framework

hi all

I want to create an Excel file which is having some data from my database.
how it is possible in zend framework.please help me.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-09-2008, 04:41 PM
Junior Member
 
Join Date: Oct 2007
Posts: 26
Default

Well, you could always generate a CSV file and then use that.

I've not seen a library to do this...then again, I really haven't looked into it that much.

You can try this link to see if it will do what you need

999 Tutorials - Create excel files with php

If this works for you, you could always modify the process and wrap it in your own class.

I hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-10-2008, 04:58 AM
Junior Member
 
Join Date: May 2008
Posts: 9
Default

Thanks

I have heard that pear would do the magic for us.But how can I use that in Zend framework?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-10-2008, 06:34 AM
Junior Member
 
Join Date: Jun 2008
Posts: 18
Default

Read the manual.
You're not able to do it with the current library and there are no proposals for this to be added so you're not ging to see this.

Just create a CSV. This is simple.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-10-2008, 04:56 PM
Junior Member
 
Join Date: Oct 2007
Posts: 26
Default

aniltc,

I would probably just add the classes to my custom library along next to where you currently keep the Zend libs.

You could then either use the base classes or extend off of them.

Cheer!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-14-2008, 07:51 PM
Junior Member
 
Join Date: Jun 2008
Posts: 4
Lightbulb Talking clock

While proudly showing off his new apartment to friends, a college student led the way into the den. "What is the big brass gong and hammer for?" one of his friends asked. "That is the talking clock," the man replied. "How's it work?""Watch," the man said and proceeded to give the gong an ear shattering pound with the hammer. Suddenly, someone screamed from the other side of the wall, "Knock it off, you idiot! It's two o'clock in the morning!"----------------------------------Do you look for free wow gold? Welcome to our WoW gold website:1.WoW gold,2.WoW gold,
__________________
Free WoW gold..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:16 PM.