Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Using a For construct

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
ricklach
Smarty Regular


Joined: 27 Aug 2004
Posts: 39

PostPosted: Wed Jan 26, 2005 1:16 am    Post subject: Using a For construct Reply with quote

using the for each function I cycle through an array to create a number of checkboxes in a table. I want to put five boxes in a row and then create a new row and continue to fill the row with five more boxes and so on. How is it done in Smarty?

Rick
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Wed Jan 26, 2005 3:20 am    Post subject: Reply with quote

A common way is shown here: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=1391
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons 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