Re: FPDF: pass variable from controller to view
I need to go to another page, I think. I use another page to create
the pdf report. The other page contains the Class PDF - should I move
this to its own php file?
Sorry if this is all basic stuff - this is my first cakephp project &
is turning out more "entertaining" than I anticipated.
Thanks
On Feb 15, 11:27 pm, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> On Feb 15, 2011, at 11:05, Antar wrote:
>
> > I am using $this->redirect() which explains why I lose the values. Is there an alternative to $this->redirect()?
>
> .....redirect means "go to another page and start a completely separate request". If you don't want to go to another page and start a completely separate request, don't use the redirect function.
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home