Yii Framework Forum: Export to excel - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Export to excel Rate Topic: -----

#1 User is offline   dimis283 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 277
  • Joined: 24-January 09

Posted 04 March 2010 - 05:07 AM

I want to ask if there is a good php class to export to excel data.
Posted Image
0

#2 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 04 March 2010 - 05:37 AM

I still use PEAR's Spreadsheet Excel Writer. But PHPExcel seems to offer more features.
0

#3 User is offline   dimis283 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 277
  • Joined: 24-January 09

Posted 04 March 2010 - 04:23 PM

I use pear but i found problems with greek characters.
Is there a solution?
Posted Image
0

#4 User is offline   jonah 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 733
  • Joined: 27-November 08
  • Location:California (US)

Posted 04 March 2010 - 05:01 PM

http://www.codeplex.com/PHPExcel
http://php-thoughts.cubedwater.com - my bloggings about Yii
0

#5 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 05 March 2010 - 02:59 AM

@dimis:
I remember that i had to patch it some years ago and for a long time there was no new release. But from their website it says, it should support UTF-8 now:
http://pear.php.net/...putencoding.php

The setVersion(8 ) is also somewhat essential.
0

#6 User is offline   jerry2801 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 504
  • Joined: 18-November 09

Posted 05 March 2010 - 04:10 AM

http://www.yiiframew...nsion/phpexcel/
0

#7 User is offline   Helen K 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 04-June 10

Posted 04 June 2010 - 05:52 AM

View Postjerry2801, on 05 March 2010 - 04:10 AM, said:



Such a very amazing link!

__________________
Watch Get Him To The Greek Online Free
0

#8 User is offline   Gustalh 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 27
  • Joined: 12-December 11
  • Location:Colombia

Posted 18 April 2012 - 01:55 PM

View Postdimis283, on 04 March 2010 - 05:07 AM, said:

I want to ask if there is a good php class to export to excel data.


the easiest way to do it

0

#9 User is offline   Dedy Isnandar 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 06-April 12

Posted 19 April 2012 - 02:27 AM

View PostGustalh, on 18 April 2012 - 01:55 PM, said:

the easiest way to do it


Yes.. it is more easy using your video tutorial
I'm nothing without Your support. ;)

www.dedyisn.net
0

#10 User is offline   bachem 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 50
  • Joined: 17-January 12
  • Location:Costa Rica

Posted 06 June 2012 - 05:46 PM

In my case video tutorial does not work because .xls generated contain html code <_< (i don't know why). Therefore i use PHPExcel, but if you wanna do with yii you have to do a trick

http://www.yiiframew...brary-with-yii/

Regards...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users