There are a few pieces to this puzzle, and the quickest way to cover them is to read Day 14 of the Jobeet tutorial:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/14 It will demonstrated how to create an atom feed, but the concept is the same, you'll just be outputting CSV instead of atom. On Wed, Jun 2, 2010 at 7:26 AM, safa boubekri <boubekri.s...@gmail.com>wrote: > i put this code in the action > > > public function executeCreate() > $this->association = > Doctrine_Query::create()->from('association')->execute(); > > > $this->getResponse()->setContentType('application/csv-tab-delimited-table','charset=UTF-8'); > $this->getResponse()->addHttpMeta('content-disposition: ', 'attachment; > filename='.resultat.'.csv', true); > > $this->getResponse()->send(); > > } > > but i dont have the data of table asscoiation > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en