Yii Framework Forum: Csv Format - Yii Framework Forum

Jump to content

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

Csv Format Rate Topic: -----

#1 User is offline   razz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 13-December 12

Posted 19 December 2012 - 09:10 AM

how can we convert the database content into csv format using yii..
Can someone plz help me?
0

#2 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 19 December 2012 - 09:26 AM

Can you be a bit more specific? Which database? And for what purpose?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#3 User is offline   razz 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 13-December 12

Posted 19 December 2012 - 10:30 AM

View PostDa:Sourcerer, on 19 December 2012 - 09:26 AM, said:

Can you be a bit more specific? Which database? And for what purpose?


Thank for response..
I need to convert the data from my mysql database into csv format
0

#4 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 19 December 2012 - 10:57 AM

All of it? If so, you can set up a table with the CSV engine and copy all your data in there. Or use SELECT ... INTO OUTFILE. There is no need to invoke Yii if MySQL can do this for you :)
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
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