This is the right way:

$this->flash('The file has been uploaded.', '/students/view/' . $student,
2);

On Mon, Apr 21, 2008 at 2:59 AM, damo <[EMAIL PROTECTED]> wrote:

>
> thanks again for all your help!!
>
> one more stupid question:
> how do I use redirect or flash to go to a URL containing a variable
>
> eg:
> $this->flash('The file has been uploaded.','/students/view/$student',
> $pause='2');
>
> can't seem to get the syntax correct... tried about a million
> different ways, but not the correct one!!
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to