 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
ivytony Smarty n00b
Joined: 26 Feb 2008 Posts: 3
|
Posted: Wed Feb 27, 2008 4:15 am Post subject: how to use html_table for a loop |
|
|
I have loop like this
{section name=img loop=$images}
<input name="link_field1" type="radio" value="{$images[img].url}"> {$images[img].img_tag} <br />
{/section}
this loop outputs a series of images accompanied with radio buttons for each image. I want to organize these images & radio buttons in a table (say 4 columns, 2 rows). How do I use 'html_table' for this loop?
thanks a lot!! |
|
| Back to top |
|
Mds Smarty Rookie

Joined: 12 Jun 2008 Posts: 17 Location: Sari
|
Posted: Thu Jun 12, 2008 12:47 pm Post subject: |
|
|
I have a same problem  |
|
| Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 4175 Location: Hamburg / Germany
|
|
| 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
|