[Zope] ZMysqlDA and type=text

John Chandler johnc@nipltd.com
Wed, 12 Apr 2000 16:41:11 +0100 (GMT)


> I try build a query like:
> 
> arguments: NAME DESCRIPTION
> 
> Insert into tablename (description, name)

Do you mean (name, description)?

> values(
> <dtml-sqlvar NAME type=string>,
> <dtml-sqlvar DESCRIPTION type=text>)
> 
> don't work because type=text
> 
> how i can fix it?

Looks like you have the two the wrong way around, hence description is
being set to NAME and name is being set to DESCRIPTION and thus the types
are wrong.


John


--
 John Chandler  /  Software Developer  /  New Information Paradigms Ltd
   [ Linux in the office, AmigaOS in the home, PalmOS in the pocket ]
------------------------------------------------------------------------
 The opinions above aren't those of my company...
                           ...but then, they aren't really mine either.