You can pass data to the view as described in the CakePHP book here:
http://book.cakephp.org/view/978/Interacting-with-Views

Enjoy,
   John

On 15 Feb., 16:55, Antar <[email protected]> wrote:
> I have a view that gathers user data and passes it to a controller where an
> SQL select statement is built. I now need to pass this statement to the view
> that creates the report. What is the best way to pass a variable from a
> controller to a view?
>
> Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to