[Zope] SQL compare to form value -HELP-
Christian Theune
ct@gocept.com
Tue, 12 Mar 2002 09:16:23 +0100
Actual, the sqltest provides the multiple attribute for this case:
WHERE
<dtml-sqltest "[Breed1, Breed2, Breed3]" column="Breeds" type="int" multiple>
Just my 0.02 Euro
* Dieter Maurer <dieter@handshake.de> [020310 18:40]:
> This was not a "zope-dev" question...
> I removed it.
Actually that looked like a crosspost ...
> Not sure whether MySQL supports this type of query, but
> usually you could use:
>
> WHERE Breeds in (Breed1, Breed2, Breed3)
>
> BTW: "dtml-sqltest" is wrong above. As the name suggests, "sqltest"
> performs a test, but you use it as a variable above. For such
> cases, use "dtml-sqlvar".
>
>
> Dieter
Christian
--
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981
reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])