Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Problème variable Smarty vers PHP

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
shinix
Smarty n00b


Joined: 01 Jun 2012
Posts: 3

PostPosted: Fri Jun 01, 2012 4:29 pm    Post subject: Problème variable Smarty vers PHP Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP