$this->set('variable_name_in_view', $her_value); //in controller
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/3/23 Shashank <[email protected]>

> Hi Guys,
> This might be a stupid question, but i am really not getting it into
> play after so many tries.
> What i have is a left.ctp file in my app/views/elements
> And what i am trying to do is, i have a function show in my users
> controller and in that function i am setting a variable to use in view
> file. But i am not able to get that variable in the left.ctp. And i
> want this variable in this left.ctp file
>
> Any ideas guys. Need Help!!!
>
> --
> 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
>

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