|
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 |
fernandola Smarty n00b
Joined: 13 Feb 2004 Posts: 2
|
Posted: Fri Feb 13, 2004 12:37 pm Post subject: Change _tpl_vars['data'] |
|
|
How can i change _tpl_vars['data'] from php code, anyone can help me please? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Fri Feb 13, 2004 12:52 pm Post subject: |
|
|
[php:1:6e4da60ea2]$data =& $smarty->get_template_vars['data']; /* obtain a reference
to the variable */
$data = // anything-you-like
[/php:1:6e4da60ea2]
have fun
messju |
|
Back to top |
|
fernandola Smarty n00b
Joined: 13 Feb 2004 Posts: 2
|
Posted: Mon Feb 16, 2004 7:47 am Post subject: |
|
|
Vielen Dank. |
|
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
|