Marie Robichon wrote:
I have a table generated from a database that I want to be able to sort by different criteria by clicking on the column headers and reloading the page, however I have tried various syntaxes for the <dtml-in selectAllProjects sort=....> line
[...] sort will sort the list by a given (fixed) attribute, you should use sort_expr instead: <dtml-in selectAllProjects sort_expr="sortby"> <tr>.... HTH -- //// (@ @) ---------------------------oOO----(_)----OOo------------------------ Los pecados de los tres mundos desapareceran conmigo. Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain) --------------------------------------------------------------------