Yii Framework Forum: Grid And List View By Reading A File(Like Excel) - Yii Framework Forum

Jump to content

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

Grid And List View By Reading A File(Like Excel) Rate Topic: -----

#1 User is offline   Aneesh Asokan 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 240
  • Joined: 26-September 12

Posted 15 October 2012 - 06:35 AM

By reading a file, i want to display them in a list or grid view. Yii have any extension for readind a file? and want display the contents of that file in a list or grid view.
Thanks
Aneesh.
0

#2 User is offline   antares 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 19-September 12

Posted 15 October 2012 - 07:26 AM

No. Yii don't have extension for reading a file.
Maybe you will find something here http://www.yiiframew...com/extensions/
0

#3 User is offline   alirz23 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,102
  • Joined: 08-August 12
  • Location:Durban, South Africa

Posted 17 October 2012 - 01:06 AM

you can accomplish that with few lines of code php have some neat function to read/write files there is one call

Quote

file();



edit

here is some code i tested

https://gist.github....0c9d06e0e9c6360
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