11-06-2008, 03:54 PM
|
#10 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Location: Nuremberg, Germany
Posts: 26
Thanks: 3
|
You should consider to use an 3d array like
PHP Code:
$phptal->persons = array(
array('person1', 'person2', 'person3', 'person4'),
array('person5', 'person6', 'person7', 'person8'),
array('person9', 'person10', 'person11', 'person12')
);
HTML would be
HTML Code:
<table>
<tr tal:repeat="person_line persons">
<td tal:repeat="person person_line" tal:content="person">...</td>
</tr>
</table>
Greetings,
Alex
|
|
|