23 Jan
2001
23 Jan
'01
1:14 p.m.
Message-ID: <EXECMAIL.1010123131444.B@kosh.bris.ac.uk> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii"
You can use something like:
<dtml-if "orderby=='firstname'"> <dtml-in "sql_search(search='foo')" sort=firstname> <dtml-elif "orderby=='lastname'"> <dtml-in "sql_search(search='foo')" sort=lastname> </dtml-if>
Hmm, that chokes, becuase it thinks the </dtml-if> tag is inside the <dtml-in> I think. AndyG