|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
Author |
Message |
Topic: Dynamic Table Columns |
boranucleare
Replies: 17
Views: 323585
|
Forum: Tips and Tricks Posted: Wed Apr 27, 2005 2:46 pm Subject: Re: Dynamic Table Columns |
{* $cols is the number of columns you want *}
<table border=1>
{section name=tr loop=$data step=$cols}
<tr>
{section name=td start=$smarty.section.tr.index
loop=$smarty.se ... |
Topic: Dynamic Table Columns |
boranucleare
Replies: 17
Views: 323585
|
Forum: Tips and Tricks Posted: Sun Apr 24, 2005 2:13 pm Subject: HtmlTableAdvPlugin - an 'advanced' version of html_table |
Hi Al, let me say I'm not a coder, so it's difficult for me understand all you are talking about.
I would like to use the HtmlTableAdvPlugin in my 2.6 smarty.
So, I cp the correctfile in the smarty ... |
Topic: create a table with 4 columns for row, with data from db |
boranucleare
Replies: 1
Views: 4322
|
Forum: General Posted: Sat Apr 16, 2005 10:03 pm Subject: create a table with 4 columns for row, with data from db |
Hi All,
I would like to create a table from a template starting from a database.
here is my php page ...
[b]
$visualizza=new Smarty;
$visualizza->assign ('risultato',$db->get_res ... |
|
Page 1 of 1 |
All times are GMT |
Powered by phpBB © 2001, 2005 phpBB Group
|