|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ramesht Smarty n00b
Joined: 18 Sep 2010 Posts: 1
|
Posted: Sat Sep 18, 2010 6:08 am Post subject: Assign smarty variable to php code in tpl file |
|
|
Hi,
How can i assign smarty variable to php code in tpl file ?
Code: |
{$destination_values.id}
{php }
$valdum = $this->get_template_vars('destination_values.id');
{/php}
Thanks |
|
|
Back to top |
|
elpmis Smarty Elite
Joined: 07 Jun 2007 Posts: 321
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|