|
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 |
shinix Smarty n00b
Joined: 01 Jun 2012 Posts: 3
|
Posted: Fri Jun 01, 2012 4:29 pm Post subject: Problème variable Smarty vers PHP |
|
|
Bonjour,
Après une bonne semaine de recherche, impossible de trouver la solution. ALors je viens vers vous en ésperant qu'une âme charitable pourra trouver la réponse à mon problème.
j'ai un code dans un fichier html (smarty) :
Code: | {$bid}
{php}
include("blocs/polls/index.php");{/php}
|
et j'ai la variable smarty {$bid} qui existe et qui fonctionne, mais j'aimerai la faire passer dans "{php}". Rien de bien compliquer normalement... Mais avec Smarty tout est compliqué.
Si quelqu'un connais un moyen fonctionnel je suis preneur !
Merci d'avance !
PS : j'ai essayé "get_template_vars()" mais me retourne une erreur. |
|
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
|