I ran into a little inconvenience with <dtml-sqlvar spam type="string"> where spam is like "spam \n eggs" (as string, not the charcter). sql_quote escapes this to "spam \\n eggs", which is not actually what I want. Is this intended and if, why? And is there a workaround other then usin <dtml-var>? MfG MFvM