[Zope] ZMysqlDA and type=text

Stephen Harrison stephen@nipltd.com
Thu, 13 Apr 2000 10:18:48 +0100


> I try build a query like:
> 
> arguments: NAME DESCRIPTION
> 
> Insert into tablename (description, name)
> values(
> <dtml-sqlvar NAME type=string>,
> <dtml-sqlvar DESCRIPTION type=text>)
> 
> don't work because type=text
> 
> how i can fix it?

type=string  :-)

You probably want to change to order you are assigning the values. 
 As it is in your query above you are assigning NAME to 
description and DESCRIPTION to name.

Cheers,
Stephen

-- 
Stephen Harrison - stephen@nipltd.com
New Information Paradigms - www.nipltd.com