Hi,
I admit I am fairly new to web.py and html. I have a hard time to
display some thing like this in my template:
test.py:
content = [[1,2,3],[4,5,6],[7,8,9]]
and that how i display it inmy template:
<table border="1">
$for row in stuff.content:
<tr>
$for cell in row:
<td > $cell </td>
</tr>
</table>
and I see:
3
6
9
instead of
1 2 3
4 5 6
7 8 9
Any help would be appreciated.
Thanks
Behrang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---