|
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 |
-abL^ Smarty n00b
Joined: 24 Jun 2005 Posts: 1
|
Posted: Fri Jun 24, 2005 5:40 pm Post subject: probléme avec une boucle |
|
|
Salut a tous alors je viens de commencer smarty ce matin bon j'arrive a me debrouiller mais j'arrive pas a faire un boucle je m'explique dans le fichier index.php je recupere des donnée de ma BDD donc je fais
$retour = mysql_query('la_requete');
while($donnees = mysql_fetch_array($retour))
{
$smarty->assign("theme",$donnees['nom']);
}
Donc la requete marche mais je ne sais pas comment faire une boucle (pour afficher les differents theme dans une liste déroulante) donc si quelqu'un sait comment faire . ca serait cool
++
merdi d'avance |
|
Back to top |
|
bonvga Smarty Rookie
Joined: 17 Mar 2005 Posts: 6
|
|
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
|