|
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 |
cam Smarty Rookie
Joined: 17 Jul 2003 Posts: 9 Location: France, Grenoble
|
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Thu Jul 17, 2003 4:05 pm Post subject: |
|
|
you want to transfer data from the included "consulter_liste.php" into the template??
do: $this->assign('liste', $liste); inside the included php-file
and use {$liste} afterwards in index.tpl.
but maybe you mean something else, your post is not 100% clear to me |
|
Back to top |
|
atpower Smarty Rookie
Joined: 23 Jul 2003 Posts: 6
|
Posted: Tue Aug 05, 2003 1:32 am Post subject: |
|
|
sorry for my unwisdom.But why you need to include the .php file into the tpl file? you can include the .php file into the .php file which you used to display the .tpl file,it's easier to use the $smarty->assign().why not |
|
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
|