[Zope-DB] Select in dtml with more than one row

Florian Schuler florian.schuler@braunconsulting.de
Wed, 26 Sep 2001 13:14:11 +0200

Hello everybody,

I have a quick question for you ( hope so ). 
Can you give me a dtml example to display a select * .. with more than
one result ?

At the moment I try:

<dtml-in "getmessagesbyid(userid=userid)">
	<dtml-call "REQUEST.set('messagehaeder',header)">

But what should I do if there is more than one "message"

The <dtml-var messageheader> give me just the last line of my select

Thanks in advance

Florian Schuler