Hi all, I am trying to put a download link on one of my view, so when user click on that link it will automatically generate a csv file and pop up for user to download.
I followed the instruction here http://blog.allmythingstodo.com/tag/cakephp/using the helper from Adam Royle ( http://bakery.cakephp.org/articles/view/csv-helper-php5) However, when I click on my link.. this is shown: Notice (8): Undefined variable: csv [APP\controllers\dispatches_controller.php, line 158] Fatal error: Call to a member function addRow() on a non-object in C:\xampp\htdocs\cake\app\controllers\dispatches_controller.php on line 158 Please help. Thank you. ** Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
