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

une boucle while in smarty template?

 
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
aha
Smarty Rookie


Joined: 17 Oct 2007
Posts: 8

PostPosted: Wed Oct 17, 2007 11:38 am    Post subject: une boucle while in smarty template? Reply with quote

bonjour Smile
mon ptt problem est le suivant: Question
j ai un code php et je ne sais pas comment l implementer ds un smarty template?
mon php code est:
-----------------------------------------------------------------------------------
while ($daten = mysql_fetch_array($antwort) )
{
?>
<div><strong><?php echo $data['field_1']; ?> </strong> : <?php echo $data['field_2']; ?> </div>
<?php
}?>
-----------------------------------------------------------------------------------

Merci bien en avance Laughing
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