Re: Exporting the index.thtml view to csv

2008-04-17 Thread R. Rajesh Jeba Anbiah
On Apr 17, 10:25 am, Adam Royle <[EMAIL PROTECTED]> wrote: > Excel does read tabular html (including basic styles). You just need > to set the correct content type. > > header("Content-disposition:attachment;filename=myexport.xls"); > header("Content-type:application/vnd.ms-excel"); > > Alternativ

Re: Exporting the index.thtml view to csv

2008-04-16 Thread Adam Royle
Excel does read tabular html (including basic styles). You just need to set the correct content type. header("Content-disposition:attachment;filename=myexport.xls"); header("Content-type:application/vnd.ms-excel"); Alternatively, if you want to create a valid csv file you can use this helper. h

Exporting the index.thtml view to csv

2008-04-16 Thread Correl
Hey, Does anyone know how I can export the main index to a csv or excel file that is recieved by the client? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send emai