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

Probleme d'affichage lorsque je modifie ma bdd

 
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
doc51
Smarty n00b


Joined: 30 Oct 2008
Posts: 2

PostPosted: Thu Oct 30, 2008 1:17 pm    Post subject: Probleme d'affichage lorsque je modifie ma bdd Reply with quote

Bonjours,

J'ai un probleme que je n'arrive pas à resoudre. Je fait un site pour un club de rugby. Je demande l'administrateur quel equipe va en phase final. L'administrateur coche Oui ou Non. Donc dans ma BDD sa envoye les reponse Oui ou Non. Quand j'ajoute ces reponses le code marche, mais quand je modofie les reponses dans ma BDD le code ne marche plus


Code:


{foreach from=$finales item="phase_finals"}
{if $phase_finals->getDecision() == 'Oui'}
<li><div class="ligne3"></div>Les Phases finals
{/if}
{/foreach}

<ol>

{foreach from=$phasef item="pf"}

{if $pf->getType_equipe() eq 'Seniors 1' && $pf->getDecision() eq 'Oui'}
<li class="sousMenu"><a href="#">Seniors 1</a></li>
{/if}
{if $pf->getType_equipe() eq "Seniors 2" && $pf->getDecision() eq "Oui"}
<li class="sousMenu"><a href="#">Seniors 2</a></li>
{/if}
{if $pf->getType_equipe() eq "Juniors" && $pf->getDecision() eq "Oui"}
<li class="sousMenu"><a href="#">Juniors</a></li>
{/if}
{if $pf->getType_equipe() eq "Cadets" && $pf->getDecision() eq "Oui"}
<li class="sousMenu"><a href="#">Cadets</a></li>
{/if}

{/foreach}


S'il vous plait adez moi.
Merci
Back to top
View user's profile Send private message
doc51
Smarty n00b


Joined: 30 Oct 2008
Posts: 2

PostPosted: Tue Nov 04, 2008 10:25 am    Post subject: Reply with quote

En fait ce que je ne comprend c'est pourquoi aprés modofication de ma BDD, je ne rendre pas dans ma boucle.
Quelqu'un peut m'aider ?
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