[Zope] How to format database query?

Renier Leenders rf.leenders@planet.nl
Tue, 3 Sep 2002 08:40:11 +0200


Hello there,

I make a query in postgresql with:
select * from table_name

and i put it in html with:
<dtml-in wet_query>
     <b> <dtml-var field1>.</b> <dtml-var field2>
</dtml-in>

field1 is a char field and field2 is a text field (column)

How can i format this output? Is it possible in dtml or python?
I think it must be possible with somekind of string manipulation but is d=
on't=20
know how to inplement it.

Thanks for any help.