I have a view that will print a report on the screen. I put a button and I'm doing a function to export this report to excel. My question is:
How to send this data in an array to my controller?
My button is like this, Via get I can only pass a variable.
echo $this->Html->link('Exportar', array('controller' => 'reports', 'action' => 'export', $prospects), array('class' => 'btn btn-primary'));